Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › "Your cart is empty" when adding a product to Cart
- This topic has 11 replies, 5 voices, and was last updated 12 years, 2 months ago by ldespain.
-
AuthorPosts
-
July 17, 2012 at 3:36 pm #6909mawnsMember
I can’t add products to my shopping cart. When I click “Add to Cart” I just come to an empty cart. You can try here:
http://www.mawns.com/wordpress/font/?font=brannboll
As I received this as a complaint today, and it have always worked for me and everybody as far as I know before, this can not be a problem in my browser settings. It worked fine for me about a week ago when I tried it.
It fortunately works to purchase products through the “Buy now” function.
Any ideas what might be causing this?
Thanks in advance,
Måns
July 18, 2012 at 12:35 am #47416IvyMemberOne of the following is happening.
1. PHP session is not working:
2. Some setup has changed on your site/server and it maybe effecting the session:
https://support.tipsandtricks-hq.com/forums/topic/my-plugin-just-stopped-working
July 19, 2012 at 6:25 pm #47417mawnsMemberThank you for your answer, Ivy.
I’ve spoken with my hosting provider, who confirmed that they have changed server.
Since I’m not into PHP I don’t have any idea of what settings I should ask them to change.
They said:
“My tip is to check what is required for the settings of the shop module you have in wordpress. Check back after that I’ll see if we can see if any settings need to be adjusted.”
July 20, 2012 at 12:11 am #47418IvyMemberYou will need your hosting to check the following.
1) Check if your server’s PHP config is set to allow sessions.
2) Check to make sure the session save path has been configured correctly. This is just a matter of adding a line similar to the following in the php.ini file:
session.save_path = /tmp
July 31, 2012 at 9:06 am #47419mawnsMemberNow it works, and it seems as it was because I had no server space left.
It started to work when my hosting gave me more space.
Thanks a lot for your help!
September 12, 2012 at 4:27 pm #47420ldespainMemberI am having this same issue. I contacted iPower, my hosting provider, and they said my PHP session is working. What’s my next step?
Thanks!
September 12, 2012 at 10:19 pm #47421PeterMemberCan you please send a link to your products and cart page so we can try adding to the cart?
September 12, 2012 at 11:15 pm #47422ldespainMemberSure – here’s a product page: http://ebookconverting.com/convert-ebooks-video-training. Cart page: http://ebookconverting.com/cart
This is the message that comes back from PayPal:
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
Cookie
/n
Thanks for your help!
September 13, 2012 at 3:39 am #47423adminKeymasterI just went to your product page, added the item to the cart and clicked the checkout button. I was successfully sent to the PayPal page where I could make the payment. So I don’t see any issue at all.
Your issue may be related to caching (you are seeing a cached page). Are you using a caching plugin? If you are which one?
September 13, 2012 at 4:44 am #47424ldespainMemberI am using Quick Cache – I disabled it and it works. YAY! Is there something I should be doing as part of the Quick Cache settings or should I try a different one?
September 13, 2012 at 5:49 am #47425adminKeymasterWe support the two most popular caching plugins:
W3 Total Cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin
WP Super cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-together-with-wp-super-cache-plugin
We don’t support the caching plugin that you are using but check the following post where one of our user posted a solution which might work for you:
September 18, 2012 at 9:39 pm #47426ldespainMemberThank you so much for your help. I decided to go with W3 Total Cache and used the directions from the other link. It’s all looking great, loading properly, and very quickly! Appreciate your help so much!
-
AuthorPosts
- You must be logged in to reply to this topic.