emils Posted January 8, 2011 Share Posted January 8, 2011 WelcomeI have a problem:My theme is "theme001". When I confirm my order (bankwire on cashondelivery) I have an error:Fatal error: Smarty error: [in /home/emils/domains/es-mot.pl/public_html/modules/cashondelivery/validation.tpl line 23]: syntax error: expecting '=' after attribute name 'confirm' (Smarty_Compiler.class.php, line 1558) in /home/emils/domains/es-mot.pl/public_html/tools/smarty/Smarty.class.php on line 1095orFatal error: Smarty error: [in /home/emils/domains/es-mot.pl/public_html/themes/theme001/modules/bankwire/payment_execution.tpl line 45]: syntax error: expecting '=' after attribute name 'confirm' (Smarty_Compiler.class.php, line 1558) in /home/emils/domains/es-mot.pl/public_html/tools/smarty/Smarty.class.php on line 1095So I delete folder in my theme (bankwire), and I have the same problem.pls help Link to comment Share on other sites More sharing options...
rocky Posted January 9, 2011 Share Posted January 9, 2011 The problem seems to be this line: {l s='Please confirm your order by clicking \'I confirm my order\'' mod='cashondelivery'}. For some reason, Smarty isn't reading the \' right and thinks it is the end of the string, then it fails on the confirm word. I'm not sure why it works on my website, but not yours. The only solution I can think of is to change it to: {l s='Please confirm your order by clicking "I confirm my order"' mod='cashondelivery'}. This will use " instead of ' to avoid escaping characters. There are many other strings that are escaped a similiar way to this string though, so it's likely you will encounter issues in other places. Link to comment Share on other sites More sharing options...
emils Posted January 9, 2011 Author Share Posted January 9, 2011 Thanks for reply.It's the same problem :/ Fatal error: Smarty error: [in /home/emils/domains/es-mot.pl/public_html/modules/cashondelivery/validation.tpl line 23]: syntax error: expecting '=' after attribute nameI don't change anything in these files, so I dont know why is that error.Sory for my english Link to comment Share on other sites More sharing options...
sined79 Posted March 23, 2011 Share Posted March 23, 2011 Thanks Rocky, that's work for me. Link to comment Share on other sites More sharing options...
haluska1 Posted February 12, 2013 Share Posted February 12, 2013 (edited) Hello. I seem to belong to this group - upon order my customers see "fatal error". no further specification. what can i do to fix it, please? {i work with prestashop 1.4.2.5 and tried to upload prestashop 1.4.9. but this one is only downloaded in my mac} Edited February 12, 2013 by haluska1 (see edit history) Link to comment Share on other sites More sharing options...
haluska1 Posted February 28, 2013 Share Posted February 28, 2013 hello, does anybody have any suggestions to solving my problem? "Hello. I seem to belong to this group - upon order my customers see "fatal error". no further specification. what can i do to fix it, please? i work with prestashop 1.4.2.5" Link to comment Share on other sites More sharing options...
Recommended Posts