abiku Posted January 25, 2006 Posted January 25, 2006 i've just installed Os MS2 and everyting is ok but when i go to the admin i have these lines on the top : Warning: session_start(): open(/tmp\sess_c3c5c005dd566ef12a327bded7867525, O_RDWR) failed: No such file or directory (2) in d:\virtual\os\admin\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\virtual\os\admin\includes\functions\sessions.php:67) in d:\virtual\os\admin\includes\functions\sessions.php on line 67 on on the bottom: Warning: Unknown(): open(/tmp\sess_c3c5c005dd566ef12a327bded7867525, 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) in Unknown on line 0 it's strange because in configure.php i have : define('STORE_SESSIONS', 'mysql') somebody now why this errors?
dudacao Posted January 26, 2006 Posted January 26, 2006 Hello abiku ! Try to remove mysql from define('STORE_SESSIONS', 'mysql') like this: define('STORE_SESSIONS', '') Hope this help you ! Dudacao Did You Saw The Birds Today ?
abiku Posted January 26, 2006 Author Posted January 26, 2006 i've found a soultion i dont know why it works but when i changed Session Directory in the Database in Configuration from "/tmp" to "tmp" everything works ok
♥Vger Posted January 26, 2006 Posted January 26, 2006 You got the correct solution, unlike the post from Eduardo. Vger
241 Posted January 26, 2006 Posted January 26, 2006 as you have sessions set to mysql in the configure.php the sessions are saved to the database and not to the file location of temp No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
♥Vger Posted January 26, 2006 Posted January 26, 2006 Yes, but in Safe Mode even if you have sessions set to be stored in the database the system still requires a valid path to a 'tmp' folder - whether you actually use it or not makes no difference to Safe Mode. Vger
Guest Posted January 27, 2006 Posted January 27, 2006 i've just installed Os MS2 and everyting is ok but when i go to the admin i have these lines on the top :Warning: session_start(): open(/tmp\sess_c3c5c005dd566ef12a327bded7867525, O_RDWR) failed: No such file or directory (2) in d:\virtual\os\admin\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\virtual\os\admin\includes\functions\sessions.php:67) in d:\virtual\os\admin\includes\functions\sessions.php on line 67 on on the bottom: Warning: Unknown(): open(/tmp\sess_c3c5c005dd566ef12a327bded7867525, 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) in Unknown on line 0 it's strange because in configure.php i have : define('STORE_SESSIONS', 'mysql') somebody now why this errors? i have the same error too. the value changes but the warning pops out. could u tell me where exactly did u change the /tmp to tmp?
abiku Posted January 27, 2006 Author Posted January 27, 2006 i have the same error too.the value changes but the warning pops out. could u tell me where exactly did u change the /tmp to tmp? ofcourse connect to your database, go to configuration table, find 'Session Directory' field (should be with id 136). change the value to 'tmp'.
Guest Posted January 29, 2006 Posted January 29, 2006 ofcourseconnect to your database, go to configuration table, find 'Session Directory' field (should be with id 136). change the value to 'tmp'. thanks for this thread. Vger, you are the undisputed king of SSL and config files. this turned out to be the fix for shared SSL certs at Hostway. is there any advantage to having the temp directory outside (or above) /catalog? the strange thing is that with their shared cert, i'm now being served the altnernate image i set up .htaccess to serve hot linkers and mod_rewrite isn't even enabled on that server. or so i thought....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.