twofivethreetwo Posted August 24, 2007 Share Posted August 24, 2007 I am working on a new project and never really had a problem with sessions before but I'm getting some errors now. Here is what I get Warning: session_start() [function.session-start]: open(/tmp/sess_6286ac1e176cecebe680ba8a8c9dd8aa, O_RDWR) failed: Permission denied (13) in /home/twofive/public_html/development/projects/fieldstatus/fs-login.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/twofive/public_html/development/projects/fieldstatus/fs-login.php:2) in /home/twofive/public_html/development/projects/fieldstatus/fs-login.php on line 2 Warning: Unknown(): open(/tmp/sess_6286ac1e176cecebe680ba8a8c9dd8aa, O_RDWR) failed: Permission denied (13) 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 (/tmp) in Unknown on line 0 Normally I'm pretty good at debugging my scripts as errors normally help but I'm not sure about these warnings for open(/tmp) or Failed to write session data (files). I have no clue what they mean. Any ideas? I don't think it has to do with my script. Link to comment https://forums.phpfreaks.com/topic/66576-sessions-problem/ Share on other sites More sharing options...
lemmin Posted August 24, 2007 Share Posted August 24, 2007 You don't have write access to the folder that you are saving the sessions in. Make sure you change the permissions or change the folder to one you have access to using session_save_path(); Link to comment https://forums.phpfreaks.com/topic/66576-sessions-problem/#findComment-333479 Share on other sites More sharing options...
twofivethreetwo Posted August 24, 2007 Author Share Posted August 24, 2007 Thanks for the quick reply and the help. Link to comment https://forums.phpfreaks.com/topic/66576-sessions-problem/#findComment-333491 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.