Obiettivoweb Posted November 12, 2014 Share Posted November 12, 2014 Hi, I'm doing a test shot of orders. When I place an order from the front office at the end of the process in 5 steps after confirmation of payment by bank transfer, I get a blanck white screen with the following url: http://www.compraloinofferta.com/module/bankwire/ validation In the back office order comes complete with everything regularly. I think there is some problem with the module. Have any of you had the same problem or does anyone know how to fix this malfunction? thanks version 1.6.0.9 Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2014 Share Posted November 12, 2014 white screen = errors please turn on error reporting it's first step in debug process then try to reproduce issue instead of white page you will see detailed infomation about error (what and where doesnt work) please paste here this error output Link to comment Share on other sites More sharing options...
Obiettivoweb Posted November 12, 2014 Author Share Posted November 12, 2014 white screen = errors please turn on error reporting it's first step in debug process then try to reproduce issue instead of white page you will see detailed infomation about error (what and where doesnt work) please paste here this error output Hi Vekia, I reproduced the problem, here is the error message I get: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/ecomweb/public_html/themes/default-bootstrap/mails/it/order_conf_product_list.txt" on line 2 "{$product[\'reference\']}" - Unexpected "\" <-- thrown in /home/ecomweb/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2 In the back office, the order arrives correctly. how I can fix this? Version 1.6.0.9 Default theme Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2014 Share Posted November 12, 2014 it looks like mail template file is crashed can you paste contents of file: /themes/default-bootstrap/mails/it/order_conf_product_list.txt ? Link to comment Share on other sites More sharing options...
Obiettivoweb Posted November 12, 2014 Author Share Posted November 12, 2014 it looks like mail template file is crashed can you paste contents of file: /themes/default-bootstrap/mails/it/order_conf_product_list.txt ? Hi Vekia, here is the content: {foreach $list as $product} {$product[\'reference\']} {$product[\'name\']} {$product[\'price\']} {$product[\'quantity\']} {$product[\'price\']} {foreach $product[\'customization\'] as $customization} {$product[\'name\']} {$customization[\'customization_text\']} {$product[\'price\']} {$product[\'customization_quantity\']} {$product[\'quantity\']} {/foreach} {/foreach} Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2014 Share Posted November 12, 2014 remove backslashes from variables change {$product[\'reference\']} to {$product['reference']} do the same for each variable. Link to comment Share on other sites More sharing options...
Obiettivoweb Posted November 12, 2014 Author Share Posted November 12, 2014 remove backslashes from variables change {$product[\'reference\']} to {$product['reference']} do the same for each variable. Hi Vekia thanks a lot. Now it works. Here is the edited file as you suggested: {foreach $list as $product} {$product['reference']} {$product['name']} {$product['price']} {$product['quantity']} {$product['price']} {foreach $product['customization'] as $customization} {$product['name']} {$customization['customization_text']} {$product['price']} {$product['customization_quantity']} {$product['quantity']} {/foreach} {/foreach} I want to know one thing. In localizations-translations - email template translations (drop down menu) In core-mail: the email template of "order_conf_product_list" is empty the HTML version, but there is the TXT version. This could be causing the problem or not has nothing to do? Thanks again for your help Link to comment Share on other sites More sharing options...
cockpitinferno Posted January 23, 2015 Share Posted January 23, 2015 thanks i had the same problem with 1.6.0.11 Link to comment Share on other sites More sharing options...
vekia Posted January 23, 2015 Share Posted January 23, 2015 and my suggestions solved problm totally? Link to comment Share on other sites More sharing options...
cockpitinferno Posted January 24, 2015 Share Posted January 24, 2015 yes for me Link to comment Share on other sites More sharing options...
Recommended Posts