puntoban Posted August 26, 2013 Share Posted August 26, 2013 When a customer wants to place an order and gets to the final step, clicks on the "I confirm my order" button and after ... the page is loading for minutes without confirming the order. The customer is confused and does not know if the order is saved. If the customer makes another click on the Confirm Order button, he gets the following message : "Cart cannot be loaded or an order has already been placed using this cart" If he received this message in BO the order is saved, but the customer has the above error message that I can find myself in BO Logs. On the server, in logs, there are several errors, like: mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/.........................../httpdocs/10/vcon/tabs/AdminOrders.php on line 52, referer: http://........................../10/vcon/index.php?tab=AdminLogs&token=1f77c87d7c66d7c97c6187aa7cbf8154 or: [Mon Aug 26 22:45:05 2013] [warn] [client 78.97.203.132] mod_fcgid: stderr: PHP Notice: Undefined index: indice_lang in /var/www/vhosts/............../httpdocs/10/tools/smarty/compile/9afe7357e51e14258b4d939c0b5e6e5fd5186f38.file.blocklanguages.tpl.php on line 45, referer: http://..................../10/modules/cashondelivery/validation.php [Mon Aug 26 22:45:05 2013] [warn] [client 78.97.203.132] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in /var/www/vhosts/................../httpdocs/10/tools/smarty/compile/9afe7357e51e14258b4d939c0b5e6e5fd5186f38.file.blocklanguages.tpl.php on line 45, referer: http://................../10/modules/cashondelivery/validation.php Did enywone else have this problem? Link to comment Share on other sites More sharing options...
El Patron Posted August 26, 2013 Share Posted August 26, 2013 I have this problem on test system v 1.5.2.0 (which is the version outside of 1.4.9.0 that I hate!) what is you version pray tell? Link to comment Share on other sites More sharing options...
El Patron Posted August 26, 2013 Share Posted August 26, 2013 also what is the payment method that they choose that hangs? and can you reproduce the problem yourself? Link to comment Share on other sites More sharing options...
puntoban Posted August 27, 2013 Author Share Posted August 27, 2013 The version of prestashop that I use is: prestashop 1.4.11.0 The payment methods are: Bank Wire and Cash on Delivery. The problem is that on the checkout page, the customer, when click's on the "I confirm my order" button, nothing heapens. That page is loading for minutes and the customer doesn't get's the message: Your order has been placed, and it will be processed as soon as possible. Thank you. Link to comment Share on other sites More sharing options...
El Patron Posted August 27, 2013 Share Posted August 27, 2013 Hi, 1.4.11.0 is a fine release. I just finished testing a new module on every 1.4 and 1.5 installation. I used check to finish out the test cart. What I notices was some 'very' long wait times after clicking 'confirm order'. What I noticed then that I had smarty recompile set to yes. what is your setting? back office-->preferences-->performance page? can you post a screen shot of it? Link to comment Share on other sites More sharing options...
puntoban Posted August 27, 2013 Author Share Posted August 27, 2013 I attached a jpg with the smarty, that is set to NO. It's interesting that it hapen's the same thing, even with other versions, like 1.4.9, or 1.4.8.3. I try it with 3 fresh installs. Things are working great, i have a database imported from other prestashop magazine that use 1.4.6 version. After i import that database orders can be done but after i make some chaneges trough BO, things are changeing and i recive that type of problem in the last step of the checkout process. I think i will restart with a new install of prestashop, and i will do a backup of my database after every step of changes trough BO. Thanks. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 4, 2013 Share Posted September 4, 2013 I attached a jpg with the smarty, that is set to NO. It's interesting that it hapen's the same thing, even with other versions, like 1.4.9, or 1.4.8.3. I try it with 3 fresh installs. Things are working great, i have a database imported from other prestashop magazine that use 1.4.6 version. After i import that database orders can be done but after i make some chaneges trough BO, things are changeing and i recive that type of problem in the last step of the checkout process. I think i will restart with a new install of prestashop, and i will do a backup of my database after every step of changes trough BO. Thanks. Hi puntoban, please let us know if you have found any resolution for this error. You said you tried with three fresh installs and the same error occurred? Link to comment Share on other sites More sharing options...
puntoban Posted October 27, 2013 Author Share Posted October 27, 2013 I didn't found the answer. Yes, I tried with 3 new fresh installs (different prestashop versions) and I got the same error. At the fourth attempt it worked. Then I meet another problem: http://www.prestashop.com/forums/topic/271723-cash-on-delivery-404-error-when-friendly-url-is-enabled/?do=findComment&comment=1360887 but this is solved now. Thank you. Link to comment Share on other sites More sharing options...
desmowow Posted November 20, 2014 Share Posted November 20, 2014 I have the same problem with version 1.6.0.8 Any solution? Link to comment Share on other sites More sharing options...
tomkat123 Posted July 17, 2015 Share Posted July 17, 2015 hmm in 1.6.1.0 still problem exist. haven't got solution yet, but got same problem on PS 1.6.1.0 with bank wire and COD, it doesn't depend on payment method it has sth related, as for me with SEO, when friendly url are off, all works fine ...debug doesn't report any errors, just the mentioned above message "Cart cannot be loaded or an order has already been placed using this cart", but it's not from debug Link to comment Share on other sites More sharing options...
amnesiak Posted July 4, 2016 Share Posted July 4, 2016 Hi, I have the same problem with 1.6.1.3. Bankvire works fine, COD and Pick up in store doesn˙t work. Any solutions? Link to comment Share on other sites More sharing options...
heidardg Posted August 17, 2016 Share Posted August 17, 2016 I have the same problem PS 1.6.1 have been searching for solution for long time, tried everything but the problem is still there. order confirmation take very long time. PLEASE PLEASE someone help for this issue. from my searching in different forums and topics,I tried the following but the problem still there: Disabling emails, commenting the Hook::exec('actionValidateOrder' , changing the PHP versions, NOTHING WORKED Link to comment Share on other sites More sharing options...
imgmind Posted October 2, 2017 Share Posted October 2, 2017 Did you solve the problem of long time loading after order confirmation at cash on delivery method? 1.6 Prestahop... Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 If anyone has MailChip installed - uninstall and everything works good again. Link to comment Share on other sites More sharing options...
Recommended Posts