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.
PHP Session not working correctly
(46 posts) (17 voices)-
Posted 3 months ago #
-
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 # -
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 # -
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 0Did 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 # -
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 # -
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 #
Reply
You must log in to post.