...

View Full Version : session_start() problems



Ramesiv
12-30-2005, 12:14 AM
okay, i have a problem with a very simple piece of code, it was working previously without any errors, but now it returns this error:


Warning: open(/tmp\sess_dd4a9f65c1728908cb53610571a6d537, O_RDWR) failed: No such file or directory (2) in c:\phpdev5\www\htmlwizard\index.php on line 5

Warning: open(/tmp\sess_dd4a9f65c1728908cb53610571a6d537, 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

and the code is just

session_start();


Can anybody help me with this? I really do not understand what is wrong

Prikid
12-30-2005, 12:29 AM
find "php.ini" in your C:\WINDOWS\ folder and change the path for variable "session.save_path" to "c:\windows\temp\"


session.save_path = c:/windows/temp/


restart apache



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum