balram Posted November 30, 2004 Share Posted November 30, 2004 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 More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 Create the tmp directory at the root of your user's home directory. Make the permissions 777. -jared Link to comment Share on other sites More sharing options...
balram Posted November 30, 2004 Author Share Posted November 30, 2004 Create the tmp directory at the root of your user's home directory. Make the permissions 777. -jared <{POST_SNAPBACK}> 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 More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 as long as you have the permissions set at 777 you should be ok. has to be a path problem or permissions problem if you still are getting errors Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2004 Share Posted November 30, 2004 I'd guess it should be either: /home/user1/tmp or /home/user1/acct/tmp -jared Link to comment Share on other sites More sharing options...
balram Posted November 30, 2004 Author Share Posted November 30, 2004 I'd guess it should be either: /home/user1/tmp or /home/user1/acct/tmp -jared <{POST_SNAPBACK}> getting same warning message :( [I]thanks in advance for your help balram[/i] Link to comment Share on other sites More sharing options...
balram Posted November 30, 2004 Author Share Posted November 30, 2004 getting same warning message :( <{POST_SNAPBACK}> still I am getting the message Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): [I]thanks in advance for your help balram[/i] Link to comment Share on other sites More sharing options...
♥Vger Posted November 30, 2004 Share Posted November 30, 2004 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 More sharing options...
balram Posted December 2, 2004 Author Share Posted December 2, 2004 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 <{POST_SNAPBACK}> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.