Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopping cart loses added items on live site - help needed


chris_martin

Recommended Posts

Posted

Items can be added to the cart, but when you navigate to another page (any page, problem not specific to single page, secure or non-secure) the cart shows empty. Happens whether you are logged in user with items in your cart from previous session, or new customer.

 

I have not made any recent changes, other than updating my SSL certificate (which appears to be fine). The site is running on PHP 4.3.2RC4.

 

Any ideas greatly appreciated

Posted

In both your configure.php files set:

 

  define('STORE_SESSIONS', 'mysql');

Posted

Thanks for the advice. I have tried changes the settings as suggested but the problem remains - as soon as you navigate away from shopping_cart.php after adding product cart appears empty.

 

The site is running on FreeBSD, Apache 1.3.27, MySQL 3.23.43, PHP 4.3.2 RC4 if this is of any interest. Also, I have tried recreating the error using my local copy of the site (running on PHP 4.3.2), but it works fine.

 

Again, any help/ideas appreciated

Posted

Your problem is most likely due to PHP 4.3.2 RC4.

 

A lot of users with the version of PHP have been reporting similar problems.

 

If you have the ability, try downgrading your PHP and see if the problem is not resolved.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Thanks for the help. I'll have to get on to Verio (our hosts) and see what they can do. Got a feeling this might be tricky.

 

Thanks again.

Archived

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

×
×
  • Create New...