Updating responses after submission

More
5 years 7 months ago #72960 by Tmac
Tmac created the topic: Updating responses after submission
I have a problem using the data entry (edit this response) button when displaying a list of completed responses.
The data entry screen shows the completed response with editable fields. I can change/adjust an answer but when I save, the server takes a long time and eventually times out with an error 500 (Internal server Error). The actual data does get changed in the database but Limesurvey seems to cause an error.
I will try to debug this but does anyone have a quick answer? Thanks.

Please Log in to join the conversation.

More
5 years 7 months ago #72965 by DenisChenu
DenisChenu replied the topic: Updating responses after submission
Hello,

500 error is definitively a server system error? did you have access to the server error log ?

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 years 7 months ago #72978 by Mazi
Mazi replied the topic: Updating responses after submission
1. Which Limesurvey version do you use?

2. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

3. Please post/attach the server's error log. Limit it to the time frame when you are trying to save on the data entry screen.

4. Please upload a phpinfo file so we can take a look at your server configuration. Just put the following code into a file named phpinfo.php and upload it to your webserver:
< ?php phpinfo(); ? >
(Delete the spaces next to </> when copying the code.)
After uploading please post the link to the file.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The following user(s) said Thank You: Tmac

Please Log in to join the conversation.

More
5 years 7 months ago #73440 by Tmac
Tmac replied the topic: Updating responses after submission
Thanks for the response. With debug=1 I get a whole page of messages (see below)
The data does get saved but lime survey resets to the "just logged in state" with NO databases selected. It works normally from that point unless you try to edit an existing response.

Link to phpinfo
Version 1.91+ Build 11379

Notice: ob_end_flush(): failed to delete buffer zlib output compression. in /usr/www/users/tourisrz/survey/admin/dataentry.php on line 1453 Notice: ob_end_flush(): failed to delete buffer zlib output compression. in /usr/www/users/tourisrz/survey/admin/dataentry.php on line 1453 Notice:

Please Log in to join the conversation.

More
5 years 7 months ago #73441 by Tmac
Tmac replied the topic: Updating responses after submission
Will try to get the log for more info.

Please Log in to join the conversation.

More
5 years 7 months ago #73442 by Tmac
Tmac replied the topic: Updating responses after submission
A bit more info:
With debug=1, I get the ob_flush error messages but the application does not result in the server 500 error, it seems to continue normally and returns to the expected "end of data editing" screen.
With debug = 0, the application just waits until the server timeout error 500.

Please Log in to join the conversation.

More
5 years 7 months ago #73450 by Mazi
Mazi replied the topic: Updating responses after submission
This might either be a problem with the ZLIB library or - and this is what I suspect - a configuration problem with the "suhosin" module. Have a look at: docs.limesurvey.org/Installation+FAQ&str...on_has_expired_quot_


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 7 months ago #73471 by Tmac
Tmac replied the topic: Updating responses after submission
Thanks,
Unfortunately, I don't have access to the server in this case so I cannot configure the suhosin module.

If I leave debug=1, the system seems to be stable and does not cause the server 500 error.

It's only a rare thing to have to edit/adjust the data after submission so I could live with it.

Hopefully there is a more elegant fix in the future?

Please Log in to join the conversation.

More
5 years 7 months ago #73486 by Mazi
Mazi replied the topic: Updating responses after submission
It is hard to fix this on the Limesurvey side because if you are using some too strictly configured security modules, there is not much we can do for you.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now