Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with saving session


delta

Recommended Posts

Hi

 

AFTER RUNNING AT THE TOP I SEE:

 

Warning: open(/tmpsess_91c3efec27f4ca40e300ef935afdceca, O_RDWR) failed: m (2) in C:apachehtdocscatalogincludesfunctionssessions.php on line 4

 

AND AT THE BOTTOM:

 

Warning: open(/tmpsess_91c3efec27f4ca40e300ef935afdceca, O_RDWR) failed: m (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

 

THIS IS PIECE OF MY application_top.php FILE:

 

define('HTTP_SERVER', 'http://127.0.0.1');

define('HTTPS_SERVER', 'https://127.0.0.1');

define('ENABLE_SSL', 0); // ssl server enable(1)/disable(0)

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/');

define('DIR_FS_LOGS', 'temp/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

I RUN IT ON THE WINDOWS 2000 PRO , PHPTRIAD

 

I'M NOT VERY GOOD IN PHP, SO THIS IS PROBABLY A SIMPLE ERROR BUT I CAN'T FIXED IT

THANK'S FOR ANY HELP

Link to comment
Share on other sites

Do one of these two:

 

Create a new folder: C:tmp

 

or

 

change your settings in configure.php to:

define('STORE_SESSIONS', 'mysql');

Best Regards

olby

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...