HeyVoOn Posted July 14, 2016 Share Posted July 14, 2016 After upgrading to the latest version of the PayPal module as it was requested. I started to have serious problems where none of my customers are able to finalize an order. They are getting "Error 500". Went to look at the server log and found the following.... PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/carlallu/public_html/shop/modules/paypal/views/templates/front/order-confirmation-mobile.tpl" on line 64 "<a href="{$link->getPageLink('history.php', true, NULL, 'step=1&back={$back|escape:'htmlall':'UTF-8'}')}" data-ajax="false">{l s='Back to orders' mod='paypal'}</a>" - Unexpected "htmlall", expected one of: "","" , ")" <--thrown in /home/carlallu/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 64 Please HELP as I am loosing a lot of sales :-( Link to comment Share on other sites More sharing options...
miaoumix Posted July 16, 2016 Share Posted July 16, 2016 (edited) How about this ? in file /modules/paypal/views/templates/front/order-confirmation-mobile.tpl, line 64, change to : <a href="{$link->getPageLink('history.php', true, NULL, 'step=1&back={$back}')|escape:'htmlall':'UTF-8'}" data-ajax="false">{l s='Back to orders' mod='paypal'}</a> Looks like there is a pb in the template. regards. Jim Edited July 16, 2016 by miaoumix (see edit history) 1 Link to comment Share on other sites More sharing options...
[email protected] Posted September 28, 2016 Share Posted September 28, 2016 (edited) Same issue for me, I've applied this fix, just wait and see if error log still the same. Anybody else faced this bug ? Edited September 28, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
MPlanet Posted October 9, 2016 Share Posted October 9, 2016 Now you can try to update PayPal module to new 3.11 If the problem continues after update, I found this solution: https://github.com/PrestaShop/paypal/pull/51 Then you can try to replace line 64 in file /modules/paypal/views/templates/front/order-confirmation-mobile.tpl <a href="{$link->getPageLink('history.php', true, NULL, 'step=1&back={$back|escape:'htmlall':'UTF-8'}')}" data-ajax="false">{l s='Back to orders' mod='paypal'}</a> to: <a href="{$link->getPageLink('history.php', true)|escape:'htmlall':'UTF-8'}" title="{l s='Back to orders' mod='paypal'}" data-ajax="false">{l s='Back to orders' mod='paypal'}</a> 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