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 12-1-04, 12:08 AM   #1
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
Something happened with osCommerce...

I installed osCommerce last March and it was working smoothly. Last weekend I added some more information on the "Information" of the left side of the store, it worked just fine. Then I was testing the store to make sure it is working, testing to order some items and I clicked on "Add to Cart", it went to the "What's in My Cart" page where it said Your Shopping Cart is empty. I said to myself, Huh ??? Did something in the Powweb web server went wrong or did I do something wrong ? I don't want to start all over again... I have been working on this store since March and my client wants it to be ready by January 2005. Also, when I added my new account, it came to me to the login page again since I already added my new account. Something weird going on... perhaps somebody has experienced that before (I hope!)...

Thank you so much for answering my questions...

Janice
janicen is offline  
Old 12-1-04, 01:51 AM   #2
tresrhnter
 
Join Date: Jun 2003
Location: Indiana
Posts: 80
Reputation: 5
janice,

that happened to mine also even though I had made no changes at all. it's because of a change powweb made back in october apparently (you can read about the whys on another thread) but this solution posted by jade dragon cured it for me. My files are named configure.php not config.php as in her post:

Quote:
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
tresrhnter is offline  
Old 12-1-04, 08:52 AM   #3
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
tresrhnter and jade,

It does work! It finally calmed down. How does that affect STORE_SESSION by adding 'mysql'??

Janice
janicen is offline  
Old 12-1-04, 10:38 AM   #4
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
What this does is tell osCommerce to keep session information in the mySQL database rather than in files. Using the database is much more reliable.
__________________
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 09:25 PM.


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