Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore F.A.Q/Instructions

PHP Session not working correctly

(46 posts) (17 voices)
  • Started 2 years ago by amin007
  • Latest reply from admin
  • Possible Solutions (Related Topics):
    1. php-session-not-working-correctly - PayPal
    2. eMember - multiple membership levels not working correctly
    3. PHP Session Error? But PHP confirmed working!

Tags:

  • caching
  • check out page
  • PHP Session
  • php session error
  • php session issue
  • product payment
  • server session
  • shortcode problem
  • web hosting
« Previous1…45
  1. admin
    Key Master

    Please post a full link to the page where you have the add to cart buttons. I can't find the add to cart buttons on your homepage link that you gave us.

    Posted 3 months ago #
  2. underwolf1
    Member

    Sorry about that. The page with the add to cart buttons is here:

    http://www.underwolf.com/?portfolio=dollshot-dollshot-uw001

    The cart is here:

    http://www.underwolf.com/?page_id=216

    To clarify a bit more about the "Site Address" setting....So the site is actually located at:

    http://www.underwolf.co/underwolf_new_site so that's what I have the "Wordpress Address" set to. But i have the "Site Address" at: http://www.underwolf.com (I'm using that domain as an Add-On Domain on a Bluehost account). Thanks again in advance!

    Posted 3 months ago #
  3. admin
    Key Master

    Thank you for the details, this is a bit of a crazy setup so I am pretty sure the session value is getting lost in the translation ("underwolf.com" and "underwolf.co" are not the same domain). Lets try this tweak and see how it goes:

    Open the "eStore_advanced_configs.php" file and search for the following line of code:

    define('WP_ESTORE_SAVE_SESSION_TO_COOKIE', false);

    When you find it just replace it with the following:

    define('WP_ESTORE_SAVE_SESSION_TO_COOKIE', true);

    Now, do a checkout and let me know how you go.

    Posted 3 months ago #
  4. jpizzolato
    Member

    I am having the same problem with the shopping cart. Items are not staying in the shopping cart when I leave the page. My hosting company said the session variables are set properly with "session.save_path = /tmp" in the php.ini file. I am also getting permissions warnings:
    Warning: Unknown: open(/tmp/sess_08ed6907f02f0fa66dd34011b39fa856, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    Did I forget to do something in the eStore settings? The website is
    http://96.125.160.22/~sweeties/vivace you can see what is happening with the shopping cart.
    I appreciate any assistance you can give me.

    Posted 3 weeks ago #
  5. jpizzolato
    Member

    More info to share... it appears the problem is only happening with Chrome. It appears to be working properly with IE and Firefox.. what would cause Chrome to fail??

    John

    Posted 3 weeks ago #
  6. admin
    Key Master

    When your PHP session on the server works correctly, it will work on every browser. I just checked the link you shared in Chrome and I can checkout fine. Maybe your hosting provider fixed the session issue on the server. If you are still seeing the issue, try clearing your chrome browser's cookie and cache.

    Posted 3 weeks ago #

RSS feed for this topic

« Previous1…45

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin