Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sessions directory does not exist


ajayzone

Recommended Posts

Posted

Hi All,

 

i am getting this warning

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

 

i have created the directory temp in the catalog folder but it dose not seem to help.

i downloaded the oscommerce-2.2ms2-060817 twice but there was no tmp directory so i just created a blank one.

what can i do please help.

Thanks.

Ajay

Posted

no you don't create a tmp directory for session storage in your www space.

 

Set the sessions to be stored in mysql via your configure.php files

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

 

if you need to use files set the directory in osc admin->configuration->sessions->session dir to a fully qualified path outside your www space.

Archived

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

×
×
  • Create New...