Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

On Checkout forwarded to home page or Login


pauseisabove

Recommended Posts

Posted

Site is http://techdatasys.com

 

Whenever I go to add a product and procede to check out I get taken back to the home page. Every now and then intermittently an error such as this osCsid=0e76c2fc837429cc5a01b32cea65101047 unable to write to the /temp file please make sure permissions are set correctly. I have changed the permissions to write and I still get this error. Somehow the two are combined I am sure. Any help would be appreciated.

 

This is the error

 

Warning: session_start() [function.session-start]: open(/tmp/sess_7f260f44f05c07f8c731e9d8b863762c, O_RDWR) failed: Permission denied (13) in /data/9/1/35/81/1198896/user/1277367/htdocs/admin/includes/functions/sessions.php on line 67

 

An here are a few more

 

Warning: session_write_close() [function.session-write-close]: open(/tmp/sess_7bc69bcac296d6beaa274ca508849054, O_RDWR) failed: Permission denied (13) in /data/9/1/35/81/1198896/user/1277367/htdocs/includes/functions/sessions.php on line 136

 

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /data/9/1/35/81/1198896/user/1277367/htdocs/includes/functions/sessions.php on line 136

Posted

open your catalog\includes\configure.php locate this line:

 

  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

replace with:

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

This should get rid of the problem you see. Normally you should setup the sessions folder to a valid one via your osc Admin->Configuration->Sessions.

Archived

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

×
×
  • Create New...