View Full Version : Sessions directory missing
ryulite
11-25-04, 02:02 AM
Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.
where can i put the session directory at?? :confused: i tried sto find help for it but in vain.. the knowledge base simply didnt have the proper help for this. please tell me how to solve this problem.. any kind soul please? :(
Dabrowski
11-25-04, 02:05 AM
Are you using a custom php.ini?
Under the new setup, the sessions directory should be above the htdocs folder.
ryulite
11-25-04, 02:26 AM
i have no idea what is that.. anyway thanks for your response i solved the problem using another way
Dabrowski
11-25-04, 02:42 AM
i have no idea what is that.. anyway thanks for your response i solved the problem using another way
For the record, php.ini is a file that sets the configuration details for how PHP runs on the server. PowWeb has one installed, but we can (and are encouraged to) upload a customized one to our site to override some of their settings. I only mentioned this because the sessions issue is one of the primary motivating factors.
Glad you got it solved.
what Dabrowski was talking about can be found here which was a recent powweb change:
http://forum.powweb.com/showthread.php?t=42021
Dabrowski
11-25-04, 03:06 AM
what Dabrowski was talking about can be found here which was a recent powweb change:
http://forum.powweb.com/showthread.php?t=42021
Thanks metalgear. I guess if I want to help, then I shouldn't be so lazy :o
Jade Dragon
11-25-04, 04:37 AM
actually there is a much simpler method to dealing with sessions and osc.
change the last line of the catalog/includes/config.php and catalog/admin/includes/config.php to this.
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
This will take care of the empty cart and wonky login problems. (if you are indeed using oscommerce)
=)
Jade
tresrhnter
11-29-04, 04:19 PM
thanks for posting this! I had a customer email me today saying they could not add something to their shopping cart and after fruitlessly searching on the oscommerce forums for an answer I came here and found this and it cured it !
on my older version (june 2003 2.2) the files needed to be changed are named configure.php not config.php.
thanks again for posting this, jade dragon!
configure.php is the newer name. The June 2003 edition you have is the latest released version.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.