Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where is sessions /tmp suppose to be


Guest

Recommended Posts

Am just installing OSCommerce on a local testbed (Win Xp, Apache, PHP, MySql, etc.) I keep getting session_start errors:

Warning: session_start(): open(/tmp\sess_12e50eb47e53c13321a0642c570a3d73, O_RDWR) failed: No such file or directory (2) in C:\Awebs\testbed\catalog\oscommerce-2.2ms2\catalog\admin\includes\functions\sessions.php on line 67

 

It can't find the /tmp directory, or am I missing something else??

 

Upon initial installation attempt (after register_globals ON) the install/setup went fine, then whenever I try to perform an update in Admistration I get these errors.

Link to comment
Share on other sites

You can store sessions in your database - just change this in your configure.php fileS:

 

 define('STORE_SESSIONS', 'mysql');

 

Matti

Link to comment
Share on other sites

Try shutting the server down, emptying all Temporary Internet Files and all Offline Content and then rebooting the server.

 

Vger

 

 

Thanks for the suggestion, tried it, even rebooted the entire system. still happens but only in admin. If I go to catalog I don't get these errors.

Link to comment
Share on other sites

There are two configure.php files

 

catalog/includes/

catalog/admin/includes

 

Did you update the admin one?

 

Tom

 

Thanks, that did it, didn't know there were 2 different configure.php files to deal with.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...