flapdoodle Posted January 20, 2015 Share Posted January 20, 2015 (edited) Prestashop v1.6 The shop was working. Placed an order then all of a sudden I started getting a blank page before the order is confirmed. The order shows up in the back end, but neither me, nor the customer gets a confirmation email. I have setup the shop as a fairly simple shop, using only cash on delivery as a payment option. I am awaiting contact from my webhost to hear about the memory thing I have found after searching. That said I put Prestashop into debug mode, and went to create an order to see what the errors are when I get the blank page. However I got an error page upon loading Prestashop itself. Here is a screenshot of the error. Edited January 20, 2015 by flapdoodle (see edit history) Link to comment Share on other sites More sharing options...
Krystian Podemski Posted January 20, 2015 Share Posted January 20, 2015 Try to reinstall wishlist module Link to comment Share on other sites More sharing options...
flapdoodle Posted January 20, 2015 Author Share Posted January 20, 2015 Thanks, looking at that, I don't know how I missed that. Uninstalled wishlist and I'm in!I made an order, and got the blank confirmation page again, this time with an error, which is as follows:Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/services/webpages/m/o/mobiletrends.ca/public/prestashop/themes/default-bootstrap/mails/en/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\"' in /services/webpages/m/o/mobiletrends.ca/public/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /services/webpages/m/o/mobiletrends.ca/public/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /services/webpages/m/o/mobiletrends.ca/public/prestashop/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(10, '\') #2 /services/webpages/m/o/mobiletrends.ca/public/prestashop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\') #3 /services/webpages/m/o/mobiletre in /services/webpages/m/o/mobiletrends.ca/public/prestashop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 So I removed line 2 from order_conf_product_list.txt to test and see what would happen.. {$product[\'reference\']} The result was it having an error on line 3 {$product[\'name\']} So its not the template changes I made. Past that I am lost. Link to comment Share on other sites More sharing options...
flapdoodle Posted January 20, 2015 Author Share Posted January 20, 2015 Solved. I removed all the "\" from the template and it works again. Still wondering why it happened in the first place. Seems odd that one day it worked and another it didn't. Link to comment Share on other sites More sharing options...
amnesiak Posted July 6, 2016 Share Posted July 6, 2016 Hi, I have the same problem. What do you mean by remove all the "\" from template? Link to comment Share on other sites More sharing options...
Krystian Podemski Posted July 6, 2016 Share Posted July 6, 2016 Look: /themes/default-bootstrap/mails/en/order_conf_product_list.txt If you're looking on something like this: {$product[\'name\']} It means that you need to remove those slashes. Link to comment Share on other sites More sharing options...
amnesiak Posted July 6, 2016 Share Posted July 6, 2016 Thanks for reply. I turned off the invoices and that fixed the problem. Regards 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