Guest Posted February 17, 2004 Posted February 17, 2004 Just install oscommerce for the first time on the top of page I am getting these errors the last two are pink ones As it say I must first fix them befor I continue Warning: open(/tmp\sess_6e61bb7bae1965554890e7a36c2895cb, O_RDWR) failed: No such file or directory (2) in c:\phpdev\www\catalog\includes\functions\sessions.php on line 67 Warning: I am able to write to the configuration file: c:/phpdev/www/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.
241 Posted February 17, 2004 Posted February 17, 2004 first is to chansge both admin and catalog includes/configure.ohp files where the code define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' change this to define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' then for the warning about the file being writable change the permissions on both configure.php files to 644 if you still receive the warning then change the permissions to 444 read only status 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.
lori2653 Posted February 17, 2004 Posted February 17, 2004 I have been experiencing the same problem. I have 4 customers with shopping carts utilizing OsCommerce. One of them is on a different server than the others. I set permissions on the configure.php to 444 and it worked only for the one site. The other sites it did not work on. I think it may be a server problem, but they are not responding as it says in my server documentation that they do not provide support for OsCommerce.
Guest Posted February 17, 2004 Posted February 17, 2004 Managed to do the define store session error and its work thx for that im still having trouble understanding the secound solution about changing the permission to 644 etc could you please expand you thread and give me step by step as i cannot locate this file or settings thx
241 Posted February 17, 2004 Posted February 17, 2004 you require an ftp program for the permission setting the likes of ws_ftp you would connect to the server and locate the file, then right click and select properties chmod 444 is read only that is from left to right the top three boxes checked and the rest unchecked for 644 do the same as for 444 but also check the second box down on the left 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 February 17, 2004 Posted February 17, 2004 this site is not live its on my laptop and ont likely to go live for some time do i still need one and can you reccomend a simple to use one
Guest Posted February 18, 2004 Posted February 18, 2004 cracked it used windows explore found file phpdev/config etc right click and set to read only
Recommended Posts
Archived
This topic is now archived and is closed to further replies.