Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: The sessions directory does not exist


samohabibi

Recommended Posts

Hello everyone

i'm getting this warning on my home page

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

 

when i checked, i found /tmp/ folder but i still get this message

 

need help urgently.

Link to comment
Share on other sites

You need to create a folder inside your catalog folder and name it tmp. I think you also have to set it to 777

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Umm... should have. You can try changing your configuration files. Scroll down to the bottom of them and changes yours to this

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

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Umm... should have. You can try changing your configuration files. Scroll down to the bottom of them and changes yours to this

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

 

i contacted my host and they told me they turned safe_mode ON.

is there anything i can do from my side to make the website work with safe_mode ON???

Link to comment
Share on other sites

Umm... should have. You can try changing your configuration files. Scroll down to the bottom of them and changes yours to this

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

 

slightly off the topic - i was just having the same problem and this fixed it and saved me a huge number of headaches. Thanks!

 

samo - no idea about safe mode but I would presume it is already on if your host says it is (not sure if there's a seperate setting for it in os commerce, didn't see one in the config file...)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...