Guest Posted July 10, 2004 Share Posted July 10, 2004 I get the following error message on top of index catalog page: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created I have tried cretaing a folder name tmp placing it in different places but nothing works. Also tried through admin side configuring use cahce, setting the folder etc.. but cant figure it out. There are errors that come up all pointing to file c:\web\catalog\admin\includes\functions\sessions.php I cant find anything there where a location where cookies should be sent. This is the problem: Warning: session_start(): open(/tmp\sess_5cfcd56367507c68091f4b651dafdf19, O_RDWR) failed: No such file or directory (2) in c:\web\catalog\admin\includes\functions\sessions.php on line 67 can anyone help me please Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2004 Share Posted July 10, 2004 you need to add 'mysql' to the store_sessions in your configure.php files, also your tmp needss to be created and be able to write to it. as you are on windows, you can create it in c:\web\catalog\admin Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2004 Share Posted July 11, 2004 Thanks, that was useful. I created tmp-folder in admin as you suggested,added mysql into 'define strore sesions' on configure.php on line 44. also I made sure tmp folder was not read only. This didi clear up the problem on admin pages but on catalog pages the problem still persists. here are the errors once again: Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. these lines are on top of the page above that warning: Warning: session_start(): open(/tmp\sess_5db2c12a7cd04417732f0817b3c3857b, O_RDWR) failed: No such file or directory (2) in c:\web\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\web\catalog\includes\functions\sessions.php:67) in c:\web\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\web\catalog\includes\functions\sessions.php:67) in c:\web\catalog\includes\functions\sessions.php on line 67 And these are at the bottom: Warning: session_write_close(): open(/tmp\sess_5db2c12a7cd04417732f0817b3c3857b, O_RDWR) failed: No such file or directory (2) in c:\web\catalog\includes\functions\sessions.php on line 106 Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in c:\web\catalog\includes\functions\sessions.php on line 106 I believe the same solution will help, just some other file has to be modified in a similar way.I have no idea which one tough. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.