Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

warning


balram

Recommended Posts

Hello

 

 

 

I am getting warning message in my oscommerce home page. I am using 'tmp' folder for sessions not the 'mysql'. Is there any solutions to fix this warning.

 

 

 

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

 

 

 

 

Balram.

[I]thanks in advance for your help

balram[/i]

Link to comment
Share on other sites

Create the tmp directory at the root of your user's home directory.  Make the permissions 777.

 

-jared

 

 

Where can i created the tmp folder, my User home directory is /home/user1/acct/folder2/test/www/

 

/home/user1/acct/folder2/test/www/tmp

 

or

 

/home/user1/acct/folder2/test/tmp

 

I have tried both the options, still I am getting the warning message

 

Balram

[I]thanks in advance for your help

balram[/i]

Link to comment
Share on other sites

Where you have your tmp directory defined in your osCommerce control panel, it probably looks like this /tmp, change it to tmp/

 

If you are on a shared server you shouldn't be using a tmp directory to store sessions data anyway. My advice is to change the last line of both of your configure.php files to read like this (your error message will go away)

 

define('STORE_SESSIONS', 'mysql');

 

Vger

Link to comment
Share on other sites

Where you have your tmp directory defined in your osCommerce control panel, it probably looks like this /tmp, change it to tmp/

 

If you are on a shared server you shouldn't be using a tmp directory to store sessions data anyway.  My advice is to change the last line of both of your configure.php files to read like this (your error message will go away)

 

define('STORE_SESSIONS', 'mysql');

 

Vger

 

 

I tried with define('STORE_SESSION','/tmp'); It is working. why my default session store location is not working.

 

In my php.ini the session.save_path = /tmp

[I]thanks in advance for your help

balram[/i]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...