muncho Posted April 15, 2007 Posted April 15, 2007 Hi, I've just recently installed OSCommerce on my local machine and I'm getting these error messages appearing on the admin screen: TOP OF SCREEN (ABOVE CONTROL PANEL): Warning: session_start() [function.session-start]: open(/tmp\sess_3d080a19ab765bd38ef218567837904b, O_RDWR) failed: No such file or directory (2) in C:\wamp\www\admin\includes\functions\sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\admin\includes\functions\sessions.php:67) in C:\wamp\www\admin\includes\functions\sessions.php on line 67 BOTTOM OF SCREEN (UNDERNEATH CONTROL PANEL): Warning: Unknown: open(/tmp\sess_3d080a19ab765bd38ef218567837904b, 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 Any help would be appreciated. Cheers, Matt.
muncho Posted April 16, 2007 Author Posted April 16, 2007 Is it something to do with folder permissions? I can't think of what else it could be.
spax Posted April 16, 2007 Posted April 16, 2007 Go to your Admin>Configuration>Sessions edit the first option "Session Directory" and change it from "/tmp" to just "tmp". Then create a new directory named "tmp" in both the "catalog" and "admin" directories. If you later load your store to a live, shared server, you should change that option in the 2 configure files so the sessions are stored to the database. To do that, you need to make the configure files read thus: define('STORE_SESSIONS', 'mysql'); You could just do that now and not bother editing the admin configuration or creating the tmp directories.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.