ixtlan Posted January 30, 2004 Share Posted January 30, 2004 Hi All I am a newbie to the forum - so please be gentle. I am slowly getting my head around MySQL and PHP. I have installed Oscommerce without any problems in as much as it goes through install process and gives me the link window to "catalog" or "admin" This is where my probles lay i go ito admin and and I get this error message when I try to name the store. I am running on local server Warning: open(/tmp\sess_30c08e6319e1203f16cabc2855a76a87, O_RDWR) failed: No such file or directory (2) in c:\ibserver\www\oscommerce\catalog\admin\includes\functions\sessions.php on line 67 Warning: Cannot add header information - headers already sent by (output started at c:\ibserver\www\oscommerce\catalog\admin\includes\functions\sessions.php:67) in c:\ibserver\www\oscommerce\catalog\admin\includes\functions\general.php on line 18 Warning: open(/tmp\sess_30c08e6319e1203f16cabc2855a76a87, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 Hope someone can help - is it to do with application_top.php? Thanks Fred Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2004 Share Posted January 30, 2004 add 'mysql' to the last line in each configure.php file Link to comment Share on other sites More sharing options...
ixtlan Posted January 30, 2004 Author Share Posted January 30, 2004 Thanks for getting back so quick - but I am a bit thick Can you explain what you mean in the config.php file? Do I have to install again? Fred Link to comment Share on other sites More sharing options...
saruba Posted January 30, 2004 Share Posted January 30, 2004 In include/configure.php under catalog and admin. define('STORE_SESSIONS', 'mysql'); <- if this is set to mysql oscommerce will store the sessions data on the database and not on a temp directory. :) Link to comment Share on other sites More sharing options...
ixtlan Posted January 30, 2004 Author Share Posted January 30, 2004 Hi Saruba That worked a treat - I must get into this PHP and MySQL instead of asking stupid questions :P Thanks again Fred Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.