Posted: August 30, 2012 at 3:42 pm
|
I have a strange issue that seems to be related to Internet Explorer 9. When I click to add an event to the cart, it appears to add, but proceeding to the cart returns an empty cart. The same page works perfectly in Firefox 15 and Chrome. To reproduce the error, simply add an event to the cart in IE9. Then reload the registration page. In FF and Chrome, you see the link has changed to “View Cart”, but in IE9, it goes back to “Add to Cart”. If you click to “View Cart”, it tells you that your cart is empty. Further troubleshooting indicates that the EE session is being lost. Perhaps it is related to a Prefetching issue that I came across… In any case, when I profiled the page in dynaTrace AJAX (allowing me to debug the dynamic xhtml and ajax calls), I found it pointing to event_espresso_do_ajax (espresso_cart_functions.js, line 369) Deeper in the trace, cart.php encountered an undefined index of ‘espresso_session’on line 25. Which again points to the missing session when trying to add the event to the cart. I would be happy to provide further screen shots and debugging info if that would be helpful. What would you suggest to further troubleshoot/resolve this issue? I am using EE 3.1.26P on a current version of XAMP, running on Windows 7 x64. I have tried updating and renaming the uploads/templates folder with no effect on the issue. (Also tried changing themes, disabling all plugins, etc…) |
Thanks. We will need to take a look at this. I will get back to you when I know something. |
|
|
Hey Awaller, |
|
Hi Sidney, Thanks for taking a look! After further testing today, it seems to be related to my local WP/EE installation, rather than across the board. The eetesting site works fine for me in the same browser, and the MER functions appear to run fine after I configured the plugin on the actual Web server.
|
|
It could be. You can try putting that same debug code on your site and see if the espresso_session id is changing on you. I put
at line 149 of espresso.php, but anywhere above that should work, too. |
The support post ‘MER Losing Session in IE9’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.