Page 1 of 1

session error?

Posted: Sun May 23, 2004 3:00 pm
by Steveo31
I'm getting a weird error... never seen it before:

Code: Select all

Warning: open(/tmp\sess_e878f199f57fa698f0b56a68dc78a3f4, O_RDWR) failed: No such file or directory (2) in c:\phpdev\www\projects\multimedia\10 hour\index.php on line 2

Warning: open(/tmp\sess_e878f199f57fa698f0b56a68dc78a3f4, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Line 1 is <?php and line 2 is session_start();

It was working fine until this morning. I didn't change anything anywhere.

Apache 1.3, PHP 4.3.6 XP Home

Posted: Sun May 23, 2004 3:39 pm
by markl999
Edit c:\windows\php.ini and change session.save_path from /tmp to something like c:\temp (or some other temp directory that exists, or where you want sessions stored).
Then restart apache.

Posted: Sun May 23, 2004 4:02 pm
by Steveo31
With quotes, right?

Posted: Sun May 23, 2004 4:05 pm
by markl999
Doesn't need them, no.

Posted: Sun May 23, 2004 4:25 pm
by Steveo31
Ok, well it works with em.

If you were a woman, I'd marry you. Thanks man. :D ;)