Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting sessions to mysql, how?


todd987

Recommended Posts

I'm getting the following error..

 

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

How do I setup sessions towards my mysql database without creating a directory?

Link to comment
Share on other sites

The last line of both your configure.php files reads

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

Set it to 'mysql'.

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...