Guest Posted April 25, 2004 Posted April 25, 2004 I get the following error on setting up osCommerce;- PHP Warning: session_start(): open(/tmp\sess_94da1aebe7f6c9a7041123d5f90dcbcd, O_RDWR) failed: No such file or directory (2) in c:\domains\hosting-uk.org\wwwroot\catalog\admin\includes\functions\sessions.php on line 67 PHP Warning: Unknown(): open(/tmp\sess_94da1aebe7f6c9a7041123d5f90dcbcd, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP 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 Where should this temp directory be created?
241 Posted April 25, 2004 Posted April 25, 2004 SESSION DIRECTORY DOES NOT EXIST change the last line in the following files catalog/includes/configure.php admin/includes/configure.php from define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); 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.
Guest Posted April 26, 2004 Posted April 26, 2004 Is it best to store the sessions in the database as opposed to a tmp file? I have used the tmp file method so far and been able to fix the problem by changing the tmp location but maybe the database method is better. If so why? Many thanks Dan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.