Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Shopping Cart PHP Sessions error

by

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 13 years, 1 month ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 21, 2012 at 7:01 pm #5607
    jamie
    Member

    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 #42175
    Peter
    Member

    Hi,

    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 #42176
    Ronregan
    Member

    I 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 #42177
    admin
    Keymaster

    Please 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 #42178
    Ronregan
    Member

    [http://aafl-chicago.org/?page_id=1788]

    You will notice the redirect

    April 19, 2012 at 11:42 pm #42179
    admin
    Keymaster

    You 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.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ