Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning message that has me confused.


Guest

Recommended Posts

:? I'm getting a weird error message and do not understand why it is even showing up. This is the error message:

 

++++++++++++++++++++

 

Warning: open(/tmpsess_b790d82c9f12a5438313b2e228531a9f, O_RDWR) failed: No such file or directory (2) in C:Program FilesApache GroupApache2htdocscatalogincludesfunctionssessions.php on line 4

 

++++++++++++++++++++

 

I am very new to this osCommerce stuff so any help would be greatly appreciated.

 

 

e

Link to comment
Share on other sites

This appears to be a config error for the directory to save the session info into. The easiest method is to save the sessions in the database. In catalog/includes/configure.php, look at the end of the file. Set it to C:/temp (or another *REAL* folder)

i.e. define('STORE_SESSIONS', 'c:/temp');

or to store them in mysql:

define('STORE_SESSIONS', 'mysql');

 

 

Also for cache: you need to go to Admin->Config->Cache and set it to "disabled" OR use a cache directory that actually exists (/tmp) is not going to be valid for a win32 install. Perhaps C:/Temp or C:/WINNT/Temp.

 

Got the idea?

Link to comment
Share on other sites

Yes, thank you very much for your help. This is great help. The only thing is that I already had my temp directory set to C:temp...but that's okay I'll go the MySQL route. Thanks. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...