Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

/tmp ???


rekha

Recommended Posts

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

 

I have no clue WHERE I should create this directory.I did "catalog/tmp" but still not working. I think I have done it in all possible directories, but the warning messege remains?! :angry:

 

Help me asap please!!

 

Thanks

 

R

Link to comment
Share on other sites

The directory that is defined via your osc admin panel in sessions needs to be somewhere in your web space and fully read/writable or "chmod 777".

 

Or you can store sessions in your database by changing the TWO configure.php files at the bottom of each file.

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

define('STORE_SESSIONS', 'mysql');

 

HTH

Tom

Link to comment
Share on other sites

Hi Tom

 

Which file will fully read/writable or "chmod 777"??

 

I did changing the TWO configure.php files at the bottom of each file.

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

define('STORE_SESSIONS', 'mysql');

 

However everthing GONE!! :o not working. So I had to re-install! then came back working :rolleyes: and same again with Warning-

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

 

What I do?

 

R

(UK)

Link to comment
Share on other sites

yeah this working, oh Thank you so much. :D

 

I have just realise that i have re-install but before i did was chose in Session Storage in 'file' but now chose to 'database' and that why!

 

Anyway THANK YOU SO MUCH for your help me, cheers! :thumbsup:

 

Rekha

Link to comment
Share on other sites

  • 3 weeks later...
After your re-install did you re-edit the TWO configure.php files?

 

define('STORE_SESSIONS', 'mysql');

 

Tom

 

 

I have the same problem..

 

I have setup this :define('STORE_SESSIONS', 'mysql'); ...an the problem with /tmp continue..?????

Link to comment
Share on other sites

the problem with temp is that you need to create a folder and name it tmp in your main catalog folder then chmod it as 777

Wendy James

 

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...