Welcome, Guest
Username: Password: Remember me

TOPIC: Updating responses after submission

Updating responses after submission 2 years 8 months ago #72960

  • Tmac
  • Tmac's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #72965

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Hello,

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

Denis
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #72978

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: Tmac

Re: Updating responses after submission 2 years 8 months ago #73440

  • Tmac
  • Tmac's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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:
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #73441

  • Tmac
  • Tmac's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Will try to get the log for more info.
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #73442

  • Tmac
  • Tmac's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #73450

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #73471

  • Tmac
  • Tmac's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
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?
The administrator has disabled public write access.

Re: Updating responses after submission 2 years 8 months ago #73486

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.221 seconds
Donation Image