AV Posted April 6, 2008 Share Posted April 6, 2008 Hey everyone, I've got really weird problem - I've done a login script which uses sessions. Everything was ok till I put my script onto the outside server (read. on localhost it worked fine). Here's the errors output: Warning: session_start() [function.session-start]: open(/tmp/sesje/sess_9ef7ad3a99063f356d9bdac7a908212f, O_RDWR) failed: No such file or directory (2) in /home/kamil/domains/kamil.vdl.pl/public_html/predleague/acp/login.php on line 4 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/xxx/domains/xxx/public_html/xxx/acp/login.php:4) in /home/xxx/domains/xxx/public_html/xxx/acp/login.php on line 4 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxx/domains/xxx/public_html/xxx/acp/login.php:4) in /home/xxx/domains/xxx/public_html/xxx/acp/login.php on line 4 Warning: Unknown: open(/tmp/sesje/sess_9ef7ad3a99063f356d9bdac7a908212f, 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 (/tmp/sesje) in Unknown on line 0 Any help would be great Quote Link to comment https://forums.phpfreaks.com/topic/99828-solved-session_start-big-problem/ Share on other sites More sharing options...
runnerjp Posted April 6, 2008 Share Posted April 6, 2008 can we see the code please Quote Link to comment https://forums.phpfreaks.com/topic/99828-solved-session_start-big-problem/#findComment-510577 Share on other sites More sharing options...
kenrbnsn Posted April 6, 2008 Share Posted April 6, 2008 Check with your hosting company. Something is mis-configured on the host. Only the first error message is meaningful, the rest are generated because the first one came out. Ken Quote Link to comment https://forums.phpfreaks.com/topic/99828-solved-session_start-big-problem/#findComment-510582 Share on other sites More sharing options...
PFMaBiSmAd Posted April 6, 2008 Share Posted April 6, 2008 ...And the last one too. The errors are telling you what the problem is - open(/tmp/sesje/sess_9ef7ad3a99063f356d9bdac7a908212f, O_RDWR) failed: No such file or directory Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/sesje) Quote Link to comment https://forums.phpfreaks.com/topic/99828-solved-session_start-big-problem/#findComment-510589 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.