sormui Posted March 3, 2007 Posted March 3, 2007 I have the following error message showing up on the top of the page in both Admin and Index pages: Warning: session_start() [function.session-start]: open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\oscommerce\catalog\admin\includes\functions\sessions.php on line 67 Please help .... thanks in advance!!!
www.in.no Posted March 3, 2007 Posted March 3, 2007 open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directory It says that the path to the session catalog dont eksist, and a quick search in here and you would have found the answer. It has been answered many thimes before.. This you set under admin - configuration - catche You can also enable session in database as well.
sormui Posted March 4, 2007 Author Posted March 4, 2007 open(/tmp\sess_hn1d4vmfdt0fuj11ni57fkagu2, O_RDWR) failed: No such file or directoryIt says that the path to the session catalog dont eksist, and a quick search in here and you would have found the answer. It has been answered many thimes before.. This you set under admin - configuration - catche You can also enable session in database as well. I can't find any answer in here. Would you mind tell me how to fix it? Thanks a lot!!!
jasonabc Posted March 4, 2007 Posted March 4, 2007 You should be storing sessions in the database - not a directory on the server. Add this (in bold below) to the store_sessions part of both your configure.php files: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
sormui Posted March 4, 2007 Author Posted March 4, 2007 You should be storing sessions in the database - not a directory on the server. Add this (in bold below) to the store_sessions part of both your configure.php files: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' The error message is gone. Thank you, Jason!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.