PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 11-25-04, 02:02 AM   #1
ryulite
 
Posts: n/a
Question Sessions directory missing

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?? 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?
 
Old 11-25-04, 02:05 AM   #2
Dabrowski
Work is bad.
 
Dabrowski's Avatar
 
Join Date: Feb 2004
Location: St. Mary's, KS
Posts: 1,158
Reputation: 60
Are you using a custom php.ini?

Under the new setup, the sessions directory should be above the htdocs folder.
__________________
Benedict Dabrowski
Dabrowski is offline  
Old 11-25-04, 02:26 AM   #3
ryulite
 
Posts: n/a
i have no idea what is that.. anyway thanks for your response i solved the problem using another way
 
Old 11-25-04, 02:42 AM   #4
Dabrowski
Work is bad.
 
Dabrowski's Avatar
 
Join Date: Feb 2004
Location: St. Mary's, KS
Posts: 1,158
Reputation: 60
Quote:
Originally Posted by ryulite
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.
__________________
Benedict Dabrowski
Dabrowski is offline  
Old 11-25-04, 02:42 AM   #5
gil
Registered
 
gil's Avatar
 
Join Date: Oct 2004
Location: on earth
Posts: 52
Reputation: 8
what Dabrowski was talking about can be found here which was a recent powweb change:
http://forum.powweb.com/showthread.php?t=42021
gil is offline  
Old 11-25-04, 03:06 AM   #6
Dabrowski
Work is bad.
 
Dabrowski's Avatar
 
Join Date: Feb 2004
Location: St. Mary's, KS
Posts: 1,158
Reputation: 60
Quote:
Originally Posted by metalgear
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
__________________
Benedict Dabrowski
Dabrowski is offline  
Old 11-25-04, 04:37 AM   #7
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
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.
PHP Code:
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
Jade Dragon is offline  
Old 11-29-04, 04:19 PM   #8
tresrhnter
 
Join Date: Jun 2003
Location: Indiana
Posts: 80
Reputation: 5
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!
tresrhnter is offline  
Old 11-29-04, 05:38 PM   #9
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
configure.php is the newer name. The June 2003 edition you have is the latest released version.
__________________
Steve
stevel is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:15 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.