Tomas Benda Posted February 5, 2013 Share Posted February 5, 2013 (edited) HI, I am trying to solve "Your cart is empty" issue. I have few Prestashops 1.5.2 in manage. I am preparing newone eshop for new domain. I have two different instalation of PS on one domain in different folder. One is with default theme and with some little settings in backoffice, this one working fine. But in another folder, I have second one version with preparation for another domain. There is only some little change in few *.tpl and *.css files and with migration data from previous eshop(no PS). Everything working fine, but from today after what everybody add item to cart and click to some other link on this webpage or refresh it, every from cart is out and there is nothing. I was trying recompile template, clear cache, clear cookie, change in SEO URL, Geolocalization is turned off, change .htaccess, fix it by change source from all solved this issues but without effect, in every browsers same issue with empty cart. Cache and cookie from browsers has been everytime flushed. Same issue is if I am logged in like customer. Of course I try reinstall block cart or this http://www.senin.org...ie-overwritted/ So can I ask do you have any idea how can I fix it? Thanks a lot Tomas Edited February 5, 2013 by Tomas Benda (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted February 5, 2013 Share Posted February 5, 2013 Did you check the contents of your cookies? My 2 cents Link to comment Share on other sites More sharing options...
Tomas Benda Posted February 5, 2013 Author Share Posted February 5, 2013 (edited) Hi Pascal, I checked it and if I first time come to eshop, there is one cookie which is different than if after that I add some item into cart. And after that I see this item into cart and do some action on web(reload, or click to some internal link) there in another different cookie. So it means that there is every click generate new cookie. Do you have any idea, how can I fix it? Thanks a lot Edit: Sorry, I have additional info. The name of cookie is everytime same, but value is different. Edited February 5, 2013 by Tomas Benda (see edit history) Link to comment Share on other sites More sharing options...
Tomas Benda Posted February 5, 2013 Author Share Posted February 5, 2013 Horrible is, that if I change database for original, so everything working fine. Do you have any idea for which settings can cause it? Link to comment Share on other sites More sharing options...
PascalVG Posted February 5, 2013 Share Posted February 5, 2013 Did you change only the database, or also the changed files?? No idea, you got me there. Anyone?? Link to comment Share on other sites More sharing options...
Tello Posted February 5, 2013 Share Posted February 5, 2013 I've had this problem to myself. I would suggest you delete your chrome cookies. Go to the webpage with (Internet explorer) And it should be fixed. Then go again with chrome and works. Else you may give me your webshop link? Link to comment Share on other sites More sharing options...
Tomas Benda Posted February 5, 2013 Author Share Posted February 5, 2013 Hi, this must be only in just settings in backoffice, because if I switch to previous database (there are data before migration from prewious eshop) everything looks fine. Here is list of changed files: sitemap.xml admin/ajaxfilemanager/ajax_create_folder.php admin/themes/default/template/footer.tpl admin/themes/default/template/controllers/home/content.tpl classes/pdf/PDFGenerator.php config/config.inc.php config/defines.inc.php modules/blockcart/blockcart.css modules/blockcategories/img/arrow_right_2.png modules/blockcms/img/arrow_right_2.png modules/blockmanufacturer/img/arrow_right_2.png modules/blockmyaccountfooter/blockmyaccount.css modules/blockpermanentlinks/blockpermanentlinks.css modules/blockreinsurance/blockreinsurance.php modules/blockreinsurance/blockreinsurance.tpl modules/blockreinsurance/style.css modules/blockreinsurance/img/reinsurance-1-1.jpg modules/blocksearch/blocksearch.css modules/blocksocial/img/sprite_pict_social_block.png modules/blocksupplier/img/arrow_right_2.png modules/blocktopmenu/css/superfish-modified.css modules/blocktopmenu/img/bg_blocktopmenu.png modules/blockuserinfo/blockuserinfo.css Missing files are only: modules/blockreinsurance/img/reinsurance-2-1.jpg modules/blockreinsurance/img/reinsurance-3-1.jpg modules/blockreinsurance/img/reinsurance-4-1.jpg modules/blockreinsurance/img/reinsurance-5-1.jpg modules/editorial/homepage_logo_1.jpg So I think that I must reload tables with settings from prewious original version. This is horrible. Here is link to eshop: http://it.totea.cz/projects/pmn/ login: totea passwd: shop Do you have somebody any idea how to fix? Link to comment Share on other sites More sharing options...
El Patron Posted February 5, 2013 Share Posted February 5, 2013 Hi, this must be only in just settings in backoffice, because if I switch to previous database (there are data before migration from prewious eshop) everything looks fine. Here is list of changed files: sitemap.xml admin/ajaxfilemanager/ajax_create_folder.php admin/themes/default/template/footer.tpl admin/themes/default/template/controllers/home/content.tpl classes/pdf/PDFGenerator.php config/config.inc.php config/defines.inc.php modules/blockcart/blockcart.css modules/blockcategories/img/arrow_right_2.png modules/blockcms/img/arrow_right_2.png modules/blockmanufacturer/img/arrow_right_2.png modules/blockmyaccountfooter/blockmyaccount.css modules/blockpermanentlinks/blockpermanentlinks.css modules/blockreinsurance/blockreinsurance.php modules/blockreinsurance/blockreinsurance.tpl modules/blockreinsurance/style.css modules/blockreinsurance/img/reinsurance-1-1.jpg modules/blocksearch/blocksearch.css modules/blocksocial/img/sprite_pict_social_block.png modules/blocksupplier/img/arrow_right_2.png modules/blocktopmenu/css/superfish-modified.css modules/blocktopmenu/img/bg_blocktopmenu.png modules/blockuserinfo/blockuserinfo.css Missing files are only: modules/blockreinsurance/img/reinsurance-2-1.jpg modules/blockreinsurance/img/reinsurance-3-1.jpg modules/blockreinsurance/img/reinsurance-4-1.jpg modules/blockreinsurance/img/reinsurance-5-1.jpg modules/editorial/homepage_logo_1.jpg So I think that I must reload tables with settings from prewious original version. This is horrible. Here is link to eshop: http://it.totea.cz/projects/pmn/ login: totea passwd: shop Do you have somebody any idea how to fix? in your seo and url's, does the shop url and shop ssl ulr's match? Can you log in after registering? Link to comment Share on other sites More sharing options...
Tomas Benda Posted February 5, 2013 Author Share Posted February 5, 2013 Hi, in this section I have follow settings: Friendly URL-yes Canonical URL-yes Apache multiviews-yes Domain: it.totea.cz SSL domain: it.totea.cz URI: /projects/pmn/ Registration working fine. After registration is everything allright, user is still login. Login working fine. Link to comment Share on other sites More sharing options...
Tomas Benda Posted February 5, 2013 Author Share Posted February 5, 2013 I have it! I dont knot what especially it is. But I have something wrong with DB table PREFIX_orders with imported data from previous eshop. Because if I change this table for original. Everything working fine. So now I will let study what can be wrong with this imported data to ths table. Thanks a lot for help all of you Link to comment Share on other sites More sharing options...
MackStores.Com Posted April 30, 2013 Share Posted April 30, 2013 well i have the same problem as everyone has with prestshop such buggy features and not to remind you i keep telling them about spelling mistakes on their website and they keep ignoring it ok i tried the cart not to leak and tried every damn thing. you empty the cart entries in the database then one cart works fine. and as soon as the entry comes back same behaviour Link to comment Share on other sites More sharing options...
Recommended Posts