mowol Posted April 24, 2013 Share Posted April 24, 2013 Hi all I have a fatal problem on one of my shops, however the biggest problem i have is that i cant reproduce it. Luckily one of my customers has agreed to help so i can test whether my solutions work. If the customer adds a product and goes to the next page the cart is empty. If i look in the backend under customers -> carts, it creates a new cart everytime he adds a product. This makes me think it is a session or cookie issue. I have tried to delete cookies and refresh the session, but that didn't fix the problem. If you have any ideas on how i can reproduce the error or any fixes, please let me know. Version 1.5.3.1 cheers, Morten Link to comment Share on other sites More sharing options...
Andrej Stas Posted April 24, 2013 Share Posted April 24, 2013 but it works for you, right? Maybe you could share the URL of your eshop so we could try it too. Link to comment Share on other sites More sharing options...
mowol Posted April 24, 2013 Author Share Posted April 24, 2013 Yes it works for me. While upgrading the shop i had the problems for like 2 minutes, and then it disappeared. http://www.ahler-sko.dk Link to comment Share on other sites More sharing options...
Andrej Stas Posted April 24, 2013 Share Posted April 24, 2013 (edited) Works for me as well. In my opinion the problem occurs while the cookies are turned off in the browser Edited April 24, 2013 by Andrej Stas (see edit history) Link to comment Share on other sites More sharing options...
mowol Posted April 24, 2013 Author Share Posted April 24, 2013 The customer didn't have cookies turned off.. Link to comment Share on other sites More sharing options...
Andrej Stas Posted April 24, 2013 Share Posted April 24, 2013 and are there more customers with this problem? Link to comment Share on other sites More sharing options...
mowol Posted April 24, 2013 Author Share Posted April 24, 2013 Yes a few customers have contacted us and stating the same problem. However there is probably a number of customers that have had the problem, but simply chose another store to buy from. Link to comment Share on other sites More sharing options...
the.rampage.rado Posted April 24, 2013 Share Posted April 24, 2013 The default 'optimize Apache' checkbox sometimes make problem for certain server configurations - remove it and delete the code it adds to the .htaccess and you'll notice the problem is no longer present. It does faulty expire times for some php/html files and after your customers add a product to their carts they see the last version of the files. Link to comment Share on other sites More sharing options...
mowol Posted April 25, 2013 Author Share Posted April 25, 2013 Hi rampage The optimize apache has never been turned on Link to comment Share on other sites More sharing options...
the.rampage.rado Posted April 25, 2013 Share Posted April 25, 2013 Do you have browser caching settings in .htaccess? Link to comment Share on other sites More sharing options...
mowol Posted April 26, 2013 Author Share Posted April 26, 2013 All optimization settings are disabled, besides smarty compilation and smarty cache. Link to comment Share on other sites More sharing options...
mowol Posted April 26, 2013 Author Share Posted April 26, 2013 I have narrowed down the problem a bit more. I tried setting up a virtual XP box and the problem only occurs on IE8. Strangely enough i have a test server which should have the same files, so i assume it's a database issue. Will try tomorrow to copy production database to test database to see if the problem remains. Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 26, 2013 Share Posted April 26, 2013 hi mowol, keep us updated. I think it is probably a database issue. You should test an upgrade as well, maybe that will solve the problem. Link to comment Share on other sites More sharing options...
mowol Posted April 28, 2013 Author Share Posted April 28, 2013 A little update I made sure that it had nothing to do with my template by using the same template in a new prestashop installation and there it worked fine. On an identical copy of the production server with the default theme it also fails. However it only fails on the product page and the cart page. If i add the product from the category page (not used in my template) it stays added. I'll continue controlling the database today, but the database is fairly big, so any tips on where the problem might be is welcomed! Link to comment Share on other sites More sharing options...
mowol Posted May 5, 2013 Author Share Posted May 5, 2013 Just to close this topic: I checked backend and access logs and saw that whenever i used IE8 i had 8 simultaneous connections and the reasons was fancybox. For some reasons the IE only css couldn't figure out the absolut/relative paths along with url rewrites and canonical links. I removed the css that caused the error and the problem disappeared. 1 Link to comment Share on other sites More sharing options...
Recommended Posts