Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Shopping Cart PHP Sessions error
Tagged: Shopping Cart is Empty
- This topic has 5 replies, 4 voices, and was last updated 12 years, 7 months ago by admin.
-
AuthorPosts
-
February 21, 2012 at 7:01 pm #5607jamieMember
When I click on the Add to Cart button, my product goes into my shopping cart fine, but when I click to check out I receive the error:
Your shopping cart is empty. Please add an item to your cart. You can load the checkout page and make sure the shopping cart is not empty.
If you are the admin of this site and you are certain that the shopping cart is not empty then the PHP Session on your server is not working correctly. Please check this article
I’ve checked with my hosting provider and they say there is nothing wrong with my settings, they verified that everything with the PHP is set up correctly. I’ve also done the test that is recommended with putting an item in the cart, redirecting to another page, and checking to see if the item is still there. It is.
What do I need to do in order to be able to successfully use the Add to Cart functionality?
February 21, 2012 at 10:20 pm #42175PeterMemberHi,
This post will give you more info and things you should check:
https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly
April 18, 2012 at 10:08 pm #42176RonreganMemberI recently CHANGED MY DOMAIN and began getting this message when trying to buy items in my shopping cart
“Your shopping cart is empty. Please add an item to your cart. You can load the checkout page and make sure the shopping cart is not empty.
If you are the admin of this site and you are certain that the shopping cart is not empty then the PHP Session on your server is not working correctly. Please check this article”
I’ve checked with my hosting provider and they say there is nothing wrong with my settings, they verified that everything with the PHP is set up correctly. I’ve also done the test that is recommended with putting an item in the cart, redirecting to another page, and checking to see if the item is still there. It is.
I looked further through your forums and saw where I should change my config file to:
define(‘WP_ESTORE_SAVE_SESSION_TO_COOKIE’, true);
I did that too. no luck
Debug file:
[04/18/2012 4:20 PM] – SUCCESS :eStore post payment processing script invoked
Everything else on the site works so I am reasonably sure that no other settings were affected by the name change. any help would be appreciated.
April 19, 2012 at 6:29 am #42177adminKeymasterPlease post a link to the page where I can go and add a product to the shopping cart.
April 19, 2012 at 5:35 pm #42178RonreganMember[http://aafl-chicago.org/?page_id=1788]
You will notice the redirect
April 19, 2012 at 11:42 pm #42179adminKeymasterYou have got two different domains going on here. The following two domains are different. You can’t cross between two domains:
[http://aafl-chicago.org]
[http://aaffpl.org]
You have the shopping cart in one domain and then the redirection happens to a different domain. It can’t work like that. The plugin can only work on within the same domain where it is installed.
-
AuthorPosts
- You must be logged in to reply to this topic.