Jump to content

[SOLVED] session_start() big problem


AV

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/99828-solved-session_start-big-problem/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.