buggindave Posted January 18, 2013 Share Posted January 18, 2013 Hello everyone, I've posted here a few times before and usually found some good advice on the issues. Since then, I've begun hiring techs from ODesk.com to help with the site more, but even they are stumped on this one. What's going on is whenever you click the Add to Cart button for a product, it takes about 15 seconds to add the product to the cart, but that's only if you leave it alone (which most US Customers are not patient so this is not likely). If you click any other button or link during this period of time, it will bring up an :"Impossible to add product" error. We are running version 1.5.2. To see the website and the error for yourself, just go to the following website and try to add a product to your cart. www.smallpetfeeders.com This is causing us big losses, and have actually cut our sales down to 10% their normal rate. Some advice would be great. Thank you. -Dave SPF Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 19, 2013 Share Posted January 19, 2013 Dave, have you tried disabling the ajax cart to see if that is the problem. Go to your modules in BO and search for "Cart Block" disable the module. Then make sure Preferences>Products - Re-direction after adding product to cart set to cart summary is set. Hopefully this will buy you some time. Link to comment Share on other sites More sharing options...
buggindave Posted January 19, 2013 Author Share Posted January 19, 2013 Tried that. It didn't speed up at all. Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 19, 2013 Share Posted January 19, 2013 Was anyone coding the site when this happened or any new modules added? If not have you tried restoring a database backup from before this started? First you should try PhpMyAdmin has an "Optimise Table" facility, have you run that, it would help clear up problems that may develop in your database. Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2013 Share Posted January 19, 2013 Ok, do this. FTP into your site and open then /config/defines.inc.php file. There is a line that says PS_DEBUG_PROFILING it should say false. Change it to true. reload, your home page, and then add and item to your cart. At the bottom of the page, it will print out a bunch of stuff. It will look like this http://screencast.com/t/CMy1nG8awCfn Take a screen shot of that area. Then go through the huge list of things and take a screen shot of anything that is in red. Now go back into the file and change the true back to false, come back to the forum and post the screenshots. Don't screenshot the very bottom that says included files, those are going to be in red, just screenshot the things that are in red like this http://screencast.com/t/4grVLwe1Cth Also, who is your host? What plan do you have? 2 Link to comment Share on other sites More sharing options...
El Patron Posted January 19, 2013 Share Posted January 19, 2013 another thought: did you turn on or otherwise modify the stock install CCC (Combine, Compress and Cache)? if so you may want to consider returning them to default values...especially on the java compression. 1 Link to comment Share on other sites More sharing options...
El Patron Posted January 19, 2013 Share Posted January 19, 2013 (edited) also try this: un-hook the module block cart from the hook Top of pages. Go to You BO in Modules >> Position then go to the bottom of the page and unhook the module. http://forge.prestashop.com/browse/PSCFV-3364 good luck..good night Edited January 19, 2013 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2013 Share Posted January 19, 2013 One other thing too. Your site appears to be hosted in singapore, but your business is in the states. Geographically that is about as far as you can get from where your site needs to be if that is true. Edit: Unless you are running other sites too, you host has things set up wrong. Go to this site and click through if you get a security warning, https://24hrsmail.com/ https://bidders.sg/ https://apmarine.sg/ Link to comment Share on other sites More sharing options...
buggindave Posted January 19, 2013 Author Share Posted January 19, 2013 (edited) Ok, do this. FTP into your site and open then /config/defines.inc.php file. There is a line that says PS_DEBUG_PROFILING it should say false. Change it to true. reload, your home page, and then add and item to your cart. At the bottom of the page, it will print out a bunch of stuff. It will look like this http://screencast.com/t/CMy1nG8awCfn Take a screen shot of that area. Then go through the huge list of things and take a screen shot of anything that is in red. Now go back into the file and change the true back to false, come back to the forum and post the screenshots. Don't screenshot the very bottom that says included files, those are going to be in red, just screenshot the things that are in red like this http://screencast.com/t/4grVLwe1Cth Also, who is your host? What plan do you have? This is what popped up...no list, just an error... Declaration of Cart::getOrderShippingCost() should be compatible with that of CartCore::getOrderShippingCost() (Unknown, line 0) Edit: Also, this was before I even got a chance to press the Add to Cart button, occurred on load.When I went to backoffice, it popped up with this error...[php Strict #2048] Declaration of PayPal::validateOrder() should be compatible with that of PaymentModuleCore::validateOrder() (/home/smallpet/public_html/modules/paypal/paypal.php, line 48) Edited January 19, 2013 by buggindave (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 19, 2013 Share Posted January 19, 2013 What shipping module are you using? Try disabling it and disabling the paypal module too. Then run it again. Also, what version of paypal are you using? Make sure it is the latest version from the addons store (it is free) Link to comment Share on other sites More sharing options...
buggindave Posted January 19, 2013 Author Share Posted January 19, 2013 also try this: un-hook the module block cart from the hook Top of pages. Go to You BO in Modules >> Position then go to the bottom of the page and unhook the module. http://forge.prestas...owse/PSCFV-3364 good luck..good night I didn't find the Cart Block hooked to the Top of Pages. Nor was CCC on, except for CSS. Any thoughts? Link to comment Share on other sites More sharing options...
buggindave Posted January 19, 2013 Author Share Posted January 19, 2013 What shipping module are you using? Try disabling it and disabling the paypal module too. Then run it again. Also, what version of paypal are you using? Make sure it is the latest version from the addons store (it is free) I use Fedex. I remembered a test that my tech said he did, and that even when he disabled the Fedex carrier, it still caused an error. It took him deleting it. I just did the same, and sure enough, it speeds up after I uninstall my Fedex Shipping Module, but not when I just disable it. Suggestions? Link to comment Share on other sites More sharing options...
Since1953 Posted April 24, 2013 Share Posted April 24, 2013 I am having this same issue. Every time I click "add to cart" it takes, on average, 5 seconds for it to actually happen. I just tried unhooking the "Cart Block" but that didn't seem to make a difference. I am only using the Connect to UPS module for shipping and have not played with that yet. I am also using the one page checkout. Any other things I should try? Link to comment Share on other sites More sharing options...
oskarmaniak Posted June 28, 2014 Share Posted June 28, 2014 Hello, I was same problem. Try set off CacheFS, its worked for me. Link to comment Share on other sites More sharing options...
Umar Akram Posted October 17, 2014 Share Posted October 17, 2014 I also have the same problem in prestashop 1.5 Any one have idea.??Add to cart product take a 15 seconds.Advance thanks. Link to comment Share on other sites More sharing options...
Since1953 Posted October 17, 2014 Share Posted October 17, 2014 As soon as we reduced our shipping options to "UPS Shipping Ground" and "Local Pickup" it sped ours up significantly, so I don't know if it's an issue with the UPS module or something else. Link to comment Share on other sites More sharing options...
Recommended Posts