Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Shopping cart empties when a new product added OR move to another page
- This topic has 10 replies, 6 voices, and was last updated 12 years, 11 months ago by rweiss.
-
AuthorPosts
-
February 6, 2011 at 5:26 am #2654hyperwebMember
OK – this is driving me crazy – purchased and setup shopping cart as described – I can add any 1 product to the cart wirget – it shows up – but if you try to add anyhtiing else – it replaces it there is never more than 1 product in the cart!!
Also – if you navigate to any other page the cart empties itself.
Lastly when you try and checkout – you get this…
Either your shopping cart is empty or the PHP Session on your server is not working correctly. Please check this article
I read through the articels and there isn’t any issue with my php
HELP!!!!
February 6, 2011 at 8:11 am #28774amin007ParticipantJuly 22, 2011 at 3:18 pm #28775Sarah1111MemberI am having a similar problem which does not seem like a PHP session issue. The cart allows us to add products and change their quantities. When we navigate between pages it shows the correct items and quantities in the cart. However, when we try to delete one item from the cart, all of the contents go away. Please help!
July 22, 2011 at 3:19 pm #28776Sarah1111Memberp.s. We are using WPeStore version 5.2.0 with WordPress 3.1 I have requested a version update but have not received a response.
July 23, 2011 at 12:19 am #28777amin007ParticipantIf it is a PHP session issue then this needs to be fixed by your hosting provider. The following page gives you some hints on the most common things that the hosting provider does wrong in the server setup to introduce this issue in the first place:
https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly
If you can post a link to your products page I will be able to do some testing and verify if you are indeed having a PHP Session issue.
December 12, 2011 at 6:03 pm #28778rweissMemberI am having the empty cart after moving to another page, and my session handler is set in php.ini just as you described it should be.
I have also checked the general settings for consistent URL’s and they are correct.
So, I need some other ideas as to why the cart is not saving items.
The site is http://www.kiboomu.com
Rick
December 12, 2011 at 10:33 pm #28779PeterMemberHi,
Strange thing is that the problem doesn’t appear to be occurring for the Opera browser but it definitely exists when using either FireFox or Chrome.
Are you using a caching plugin?
If you so have you tried this workaround?
http://www.tipsandtricks-hq.com/ecommerce/wp-shopping-cart-and-wp-super-cache-workaround-334
December 12, 2011 at 11:28 pm #28780rweissMemberNo – I’m not using any caching plugins. I was going to put one in when I saw this issue.
I hadn’t noticed the Opera browser works – but you are right. So that is odd.
We have a ridiculous number of javascripts going on the pages because the client insists on having multiple javascript based menus on every page. Not sure if that might be a cause of the issue.
December 13, 2011 at 4:16 am #28781PeterMemberHi Rick,
I have noticed something else – I can see the following error on your site when using the Chrome version of Firebug:
“Uncaught ReferenceError: ajaxurl is not defined”
Maybe this might be something related to your problem??
December 13, 2011 at 7:15 am #28782adminKeymasterSomething on your site is definitely resetting (clearing out) the session data on page load.
Do the PHP Session Test mentioned in the following post (check under the “How To Find Out If You Are Having a PHP Session Issue” section):
https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly
You will see that as soon as you browse away from the page (meaning you are loading the site again) the PHP session values gets destroyed.
December 13, 2011 at 3:20 pm #28783rweissMemberThanks Peter, I will look to see what that might be. This site has a ridiculous number of javascripts running at the same time (I tried to discourage this). admin – I did the session test, and know that this is the case. I just don’t know what is causing it, since the php.ini file looks to be set correctly, and I don’t have and session issues on any other site (it is my dedicated server, so all sites on it are mine).
-
AuthorPosts
- You must be logged in to reply to this topic.