nicola82 Posted September 10, 2014 Share Posted September 10, 2014 Hi all, I've just put my presta 1.6.0.8 shop over a cloud server and made some test on it and I am very happy with the speed comparing with my old shared server. BUT I am facing a strange issue: I make an order, let's says that I choose bank transfert for example. At the 5th step of the checkout I press CONFIRM ORDER and I wait for the order confirmation page, that confirms the order and gives to the customer all the bank transfert info. The browser says: waiting for answer from server. Ok, I wait for 5 minutes and then the page (order-confirmation.php) appears. It is taking too long, and I do not understand the reason, every other page on my website loads super fast. My suspect is that it could be a server issue, maybe some wrong settings, because I tryed to put my old 1.4 shop on the same server and gives the same issue that I had not on my old shared and slow server. any suggestions? Link to comment Share on other sites More sharing options...
nicola82 Posted September 10, 2014 Author Share Posted September 10, 2014 The long loading time could be related to this problem that I have too? http://www.prestashop.com/forums/topic/338648-client-email-has-empty-products/ 1 Link to comment Share on other sites More sharing options...
El Patron Posted September 11, 2014 Share Posted September 11, 2014 also, can you turn on prestashop debug mode and see if any error? http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ this sounds like issue with mail time out Link to comment Share on other sites More sharing options...
nicola82 Posted September 11, 2014 Author Share Posted September 11, 2014 also, can you turn on prestashop debug mode and see if any error? http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ this sounds like issue with mail time out Hi el patron, no error messages. It just take a lot of time and then the right page confirmation appears Link to comment Share on other sites More sharing options...
nicola82 Posted September 18, 2014 Author Share Posted September 18, 2014 I still have both issues: 1) order confirm time too long 2) client email has empty products can anybody help me? Link to comment Share on other sites More sharing options...
El Patron Posted September 18, 2014 Share Posted September 18, 2014 I still have both issues: 1) order confirm time too long 2) client email has empty products can anybody help me? sorry you have this issue, for good results please open a 'bug' report here: http://forge.prestashop.com/ then post url of forge report back here so we can follow/comment/vote up. Link to comment Share on other sites More sharing options...
nicola82 Posted September 19, 2014 Author Share Posted September 19, 2014 (edited) my second issue is exactly this one: http://forge.prestashop.com/browse/PSCSX-2450 I am trying to fix it but I do not have any "order_conf_product_list.txt" and "order_conf_product_list.tpl" in the "mails/en directory. Now I'll try to copy all mails/en into mails/it and see what happens. >>>> nothing happens, the problem still here. I replied to that post to try to fix the issue. Edited September 19, 2014 by nicola82 (see edit history) Link to comment Share on other sites More sharing options...
nicola82 Posted September 19, 2014 Author Share Posted September 19, 2014 I 've found another post that report the same issue: http://forge.prestashop.com/browse/PSCFV-12224?jql=text%20~%20%22no%20products%20in%20order%20mail%22 It seems a translation problem. Some file are missing into the mails/language directory. In my case i do not have the "order_conf_product_list.txt" and "order_conf_product_list.tpl" in the "mails/en directory. could anybody send this files to me? thanks Link to comment Share on other sites More sharing options...
nicola82 Posted September 19, 2014 Author Share Posted September 19, 2014 OK, I ve solved the mail issue. I made a fresh installation and put "order_conf_product_list.txt" and "order_conf_product_list.tpl" in the "mails/en directory. They were missing. Now I still have the "taking too long" issue. Link to comment Share on other sites More sharing options...
TomPuja Posted October 17, 2014 Share Posted October 17, 2014 Hi! ...for those who are now after reading this post trying to google and find those files... (as I did for some time also...) simply download newest presta (in my case was 1.6.0.9) installation version to your PC (it is a zip file), open, find those files in places indicated before, copy and upload to your LIVE shop. You are all set! Cheers! Link to comment Share on other sites More sharing options...
valkor Posted December 9, 2014 Share Posted December 9, 2014 Hi! ...for those who are now after reading this post trying to google and find those files... (as I did for some time also...) simply download newest presta (in my case was 1.6.0.9) installation version to your PC (it is a zip file), open, find those files in places indicated before, copy and upload to your LIVE shop. You are all set! Cheers! I just fix another problem with order confirmation takes too long, it takes about a month for me to figure out. After adding all files to mails/en folder( 2 other was actually missing order_conf_cart_rules.tpl and order_conf_cart_rules.txt), I still had same issue. Then I open classes/PaymentModule.php and set DEBUG_MODE = true; in the beggining of this class ( it will log all actions to backoffice Log tab). What I found : After 'Hook validateOrder is about to be called' it takes about 5-8 minutes to get next step 'Order Status is about to be added'. So I look at my payment module stripjs and didn't find any registration of 'actionValidateOrder' hook and no function with same name. Only module active which is use this is mailalert module. Next my step - commented line 644- 650 (/*Hook::exec('actionValidateOrder', array( 'cart' => $this->context->cart, 'order' => $order, 'customer' => $this->context->customer, 'currency' => $this->context->currency, 'orderStatus' => $order_status ));*/ Create order and finally success !!! Link to comment Share on other sites More sharing options...
romy1103 Posted July 15, 2015 Share Posted July 15, 2015 I just fix another problem with order confirmation takes too long, it takes about a month for me to figure out. After adding all files to mails/en folder( 2 other was actually missing order_conf_cart_rules.tpl and order_conf_cart_rules.txt), I still had same issue. Then I open classes/PaymentModule.php and set DEBUG_MODE = true; in the beggining of this class ( it will log all actions to backoffice Log tab). What I found : After 'Hook validateOrder is about to be called' it takes about 5-8 minutes to get next step 'Order Status is about to be added'. So I look at my payment module stripjs and didn't find any registration of 'actionValidateOrder' hook and no function with same name. Only module active which is use this is mailalert module. Next my step - commented line 644- 650 (/*Hook::exec('actionValidateOrder', array( 'cart' => $this->context->cart, 'order' => $order, 'customer' => $this->context->customer, 'currency' => $this->context->currency, 'orderStatus' => $order_status ));*/ Create order and finally success !!! Excellent valkor - Your solution did help after commenting the below code from paymentmodule.php /*Hook::exec('actionValidateOrder', array( 'cart' => $this->context->cart, 'order' => $order, 'customer' => $this->context->customer, 'currency' => $this->context->currency, 'orderStatus' => $order_status ));*/ My order confirmation load time was reduced from 60secs to 25 secs Thanks lot! Link to comment Share on other sites More sharing options...
vroon Posted October 23, 2015 Share Posted October 23, 2015 I am also facing the similar issue, Applied the solution given by romy1103 and Valkor but nothing happened, Problem still remains the same. When i click "Confirm Order" Button it takes more than 30-40 seconds before the order confirmation page starts loading. I am using PrestaShop version 1.6.0.14.Any Help will work. Thanks, Vroon Link to comment Share on other sites More sharing options...
Inform-All Posted April 11, 2016 Share Posted April 11, 2016 I had the same problem as above. Fixed it with downgrading my server's php version from php7 back to php5.3. Hope it helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now