Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions Problem after new installation


sand_danser

Recommended Posts

I've set my OC up and done all the neccessary requirements but am getting this error:

Warning: The sessions directory does not exist: /usr/local/psa/home/vhosts/geordietackle.co.uk/httpdocs/catalog/includes/functions/sessions.php/tmp. Sessions will not work until this directory is created.

I've set the sessions to "tmp" that used to be "/tmp" by default but nothings happened. It's telling me I need to create a "tmp" directory in the "sessions.php" file but that doesn't sound right to me ? can anyone guide me please :blink:

Link to comment
Share on other sites

Change the last line of both configure.php files to read 'mysql' where indicated. This will store sessions in the database and not in files in a folder.

 

Sessions stored in the database have a set expiry time, but sessions stored in files do not have a set expiry time and just accumulate.

 

Vger

Link to comment
Share on other sites

thanks for that Rhea, I edited the last line of the "includes/configure.php file to "define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

and it's fixed it so I haven't edited the catalog/admin/configure.php file. This file doesn't have the option on the last line anyway so I thought I best leave it. Is this ok ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...