Check out the LimeSurvey source code on GitHub!

Php Error (session_start) and (session_regenerate)

More
5 years 3 months ago #68972 by RayJ
Not sure what is causing the issue or how to fix it as I just got this error after running limesurvey for a year with no issues.

When trying to login through admin I get the following errors

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/r/a/y/rayztheman/tmp/sess_53ee5113a483a9191caf7ff08adaf289, O_RDWR) failed: No such file or directory (2) in /home/content/r/a/y/rayztheman/html/survey/admin/sessioncontrol.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/r/a/y/rayztheman/html/survey/admin/sessioncontrol.php:36) in /home/content/r/a/y/rayztheman/html/survey/admin/sessioncontrol.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/r/a/y/rayztheman/html/survey/admin/sessioncontrol.php:36) in /home/content/r/a/y/rayztheman/html/survey/admin/sessioncontrol.php on line 36

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/content/r/a/y/rayztheman/html/survey/admin/usercontrol.php on line 133


When trying to complete the survey as a user I get the following

Warning: Unknown: open(/var/chroot/home/content/r/a/y/rayztheman/tmp/sess_21bd0376f9d77f99b1bde5ea9aee9b8b, 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 () in Unknown on line 0

Please Log in to join the conversation.

More
5 years 3 months ago #68987 by DenisChenu
Hello,

It's a server misconfiguration, you have to verify this:

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

If you can't , you can try DB session:
// $sessionhandler can be either 'file' or 'db'. (default: 'file').
$sessionhandler     =  'db';
in your config.php :)

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).

Please Log in to join the conversation.

More
5 years 3 months ago #69013 by Mazi
Also check if the "session.save_path" set in php.ini config file 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)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form