Welcome, Guest
Username: Password: Remember me

TOPIC: ERROR: session has expired:

Re: ERROR: session has expired: 2 years 9 months ago #69751

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
I would have guessed that suhosin or mod_security causes these problems but I don't see any hints for this.

In general it's mostly caused by security modules which are configured too strictly to deal with large surveys and lots of POST/SESSION data.

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: ERROR: session has expired: 2 years 9 months ago #69769

  • jvanbussel
  • jvanbussel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Hello all,

I've just changed: session.save_path = /home/surdatab/sessions in /home/surdatab/php.ini

but the result is an error for the whole LS-installation ..., being:

Warning: session_start() [function.session-start]: open(/home/surdatab/sessions/sess_79761cbfeb8f429a67b9b8cd5fe0ce51, O_RDWR) failed: No such file or directory (2) in /home/surdatab/public_html/ls/admin/sessioncontrol.php on line 36

Warning: Unknown: open(/home/surdatab/sessions/sess_79761cbfeb8f429a67b9b8cd5fe0ce51, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/surdatab/sessions) in Unknown on line 0
The administrator has disabled public write access.

Re: ERROR: session has expired: 2 years 9 months ago #69771

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
I think it is a wrong path setting. I don't know why the previous setting should not work as long as the /TMP folder exists and is writeable.

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: ERROR: session has expired: 2 years 9 months ago #69781

  • Jannet
  • Jannet's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Karma: 0
I too get this error message, but not all the time.

1. I do not have any problems in Firefox
2. In IE, Chrome and Safari (Windows) I do not have a problem if I go directly to the survey (= type the survey address in the address bar)
3. In IE, Chrome and Safari I do get the error message if I go to the survey through the link that I put on my website zinadvies.com/cms/penoscan, the link is under "Ga direct naar de scan"

I am using LS 1.91 build 10030. Have not been able to update to the latest build as the 3-step update thingy doesn't work properly.
Last Edit: 2 years 9 months ago by Jannet.
The administrator has disabled public write access.

Re: ERROR: session has expired: 2 years 9 months ago #69790

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Jannet: 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.

Re: ERROR: session has expired: 2 years 9 months ago #69793

  • Jannet
  • Jannet's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Karma: 0
The administrator has disabled public write access.

Re: ERROR: session has expired: 2 years 9 months ago #69801

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6323
  • Thank you received: 812
  • Karma: 242
jvanbussel wrote:
pen(/home/surdatab/sessions/sess_79761cbfeb8f429a67b9b8cd5fe0ce51, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Oups, you have to create this directory too.

And maybe assign same user right permission than /home/surdatab/public_html :)
The administrator has disabled public write access.

Re: ERROR: session has expired: 2 years 9 months ago #69806

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Jannet wrote:
I too get this error message, but not all the time.

1. I do not have any problems in Firefox
2. In IE, Chrome and Safari (Windows) I do not have a problem if I go directly to the survey (= type the survey address in the address bar)
3. In IE, Chrome and Safari I do get the error message if I go to the survey through the link that I put on my website zinadvies.com/cms/penoscan, the link is under "Ga direct naar de scan"
Since the phpinfo.php looks fine I assume that this might be browser related. Maybe you are using a customized template with invalid HTML which causes problems and Firefox is better at dealing with it?!

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: ERROR: session has expired: 2 years 9 months ago #69809

  • Jannet
  • Jannet's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Karma: 0
I use the vallendar template.

Just tried thebasic one, but same problem.
Last Edit: 2 years 9 months ago by Jannet. Reason: added comment
The administrator has disabled public write access.

Re: ERROR: session has expired: 2 years 9 months ago #69811

  • Jannet
  • Jannet's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Karma: 0
As I only get the problem when I open the survey with the link on my website, would that mean that the bad HTML could be in my website, and not in the survey?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.202 seconds
Donation Image