Jump to content

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)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.