Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble with sessions i do believe.


whitey

Recommended Posts

Posted

I had trouble with sessions on the catalog page but that was fixed by switching to mysql for sessions.

 

but now in the admin section i keep getting:

 

Warning: open(/tmpsess_9bf6625aba44f445586ef4bd305cc96e, O_RDWR) failed: No such file or directory (2) in C:webrootadminincludesfunctionssessions.php on line 67

 

Warning: Cannot add header information - headers already sent by (output started at C:webrootadminincludesfunctionssessions.php:67) in C:webrootadminincludesfunctionsgeneral.php on line 18

 

Warning: open(/tmpsess_9bf6625aba44f445586ef4bd305cc96e, 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

 

 

any help would be great.

 

Thanks.

 

 

Win2k Service Pack 4

Dual Gig

640MB Ram

MySql 3.23.54

PHP 4.2.3

Posted

Good chance that all you need to change is this line in /admin/includes/configure.php:

define('STORE_SESSIONS', '');

to this:

define('STORE_SESSIONS', 'mysql');

Best Regards

olby

Posted

In a perfect world - yes.

 

But it's still trying to access /tmp even after it's been denied access, so thats why it sometimes help to S-P-E-L-L it out to the server and osC :)

Best Regards

olby

Posted

Thanks, that worked. Guess i should have checked for more configure.php's anymore i should know about before i quit for the day?

Archived

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

×
×
  • Create New...