Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Messages on Admin Screen


muncho

Recommended Posts

Posted

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.

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...