Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The poll could not be saved. Please try again in a few seconds. #349

Closed
SimpelMe opened this issue Jan 16, 2020 · 8 comments
Closed

The poll could not be saved. Please try again in a few seconds. #349

SimpelMe opened this issue Jan 16, 2020 · 8 comments
Labels
documentation hx hoster experience

Comments

@SimpelMe
Copy link

Took the latest release and put it in folder "croodle" on my server.
"croodle" and "data" are 755.
Everything seems working but if I want save I get the message: "The poll could not be saved. Please try again in a few seconds."

Suggestions?

@jelhan
Copy link
Owner

jelhan commented Jan 16, 2020

Any additional information available in web server logs? Did you verified that the user used to execute the PHP script owns the data directory? Otherwise 755 is to restrict. It must have write access to set directory. You could quickly verify by changing the permissions to 777 but I would not recommend to leave it like this.

@SimpelMe
Copy link
Author

Even if both folders are set to 777 this error occures.
It is an nginx.
If there are log files I can't grab them.

@SimpelMe
Copy link
Author

I can set debugging in config.php to
'debug' => getenv('CROODLE__DEBUG') ?: true
But where is the debugging output?

@SimpelMe
Copy link
Author

Console in Chrome says:
vendor-699c91804e8c881fe195a7977b3e0b4b.js:6303 POST /croodle/api/index.php/polls 404

@jelhan
Copy link
Owner

jelhan commented Jan 17, 2020

You need to make sure that all requests to /api/index.php are handled by the corresponding file. You might want to compare your nginx configuration with the ones provided in #92 and #343.

@jelhan jelhan added documentation hx hoster experience labels Jan 18, 2020
@jelhan
Copy link
Owner

jelhan commented Jan 22, 2020

@SimpelMe Did you were able to solve the issue? If so, please share with us the solution. If not, please share the web server configuration.

@pietsch
Copy link

pietsch commented Sep 28, 2023

Silly me just had the same problem using Apache. Turns out I had forgotten to install PHP.

@jelhan
Copy link
Owner

jelhan commented Sep 28, 2023

@pietsch Thanks for sharing what solved the issue for you. Assuming that the issue is solved for @SimpelMe as well.

@jelhan jelhan closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation hx hoster experience
Projects
None yet
Development

No branches or pull requests

3 participants