Jump to content

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

also what is the payment method that they choose that hangs?

 

and can you reproduce the problem yourself?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

post-332605-0-21940200-1377627665_thumb.jpg

Share this post


Link to post
Share on other sites

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? 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Did you solve the problem of long time loading after order confirmation at cash on delivery method? 1.6 Prestahop... 

Share this post


Link to post
Share on other sites

If anyone has MailChip installed - uninstall and everything works good again.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More