Mr_Marlo Posted March 28, 2011 Share Posted March 28, 2011 I Have this problem in the "Update" botton in the address section user;Fatal error: Smarty error: [in C:\Program Files\EasyPHP-5.3.5.0\www\prestashop/themes/prestashop/address.tpl line 147]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 590) in C:\Program Files\EasyPHP-5.3.5.0\www\prestashop\tools\smarty_v2\Smarty.class.php on line 1095 Link to comment Share on other sites More sharing options...
shokinro Posted March 29, 2011 Share Posted March 29, 2011 I just tried it at my test environment, it seems working fine.have you made any changes on the files? Link to comment Share on other sites More sharing options...
Mr_Marlo Posted March 29, 2011 Author Share Posted March 29, 2011 We do not changeSolution: I replaced the file with the old version address.tpl 1.3.7.Regards. Link to comment Share on other sites More sharing options...
whitish Posted April 3, 2011 Share Posted April 3, 2011 Had the same problem for theme 'matrice'. As a workaround, replaced file address.tpl from pentaho theme 1.3.7. Link to comment Share on other sites More sharing options...
georgetreff4545 Posted April 7, 2011 Share Posted April 7, 2011 You can even change the templates to make it look like how you like it. Link to comment Share on other sites More sharing options...
jluc76 Posted April 13, 2011 Share Posted April 13, 2011 L.146, replace this : [removed] $(document).ready(function(){ var ajaxurl = "{$ajaxurl}"; {literal} by this : {literal} [removed] $(document).ready(function(){ var ajaxurl = "{/literal}{$ajaxurl}{literal}"; Link to comment Share on other sites More sharing options...
UniArt Posted April 22, 2011 Share Posted April 22, 2011 Friend, do not change the code before trying to configure in the back ofice - preferences - using Smarty 2 in place of 3 - notto me it solved the problemsorry my english crush. 1 Link to comment Share on other sites More sharing options...
shokinro Posted April 22, 2011 Share Posted April 22, 2011 Thanks for sharing the information UniArt.I think by default, PrestaShop is configured to use Smarty 3.There are some changes on from smarty 2 to smarty 3 that might not compatible with some old code.So by switching to use smarty 2 it may solve some kind of problem.But for feature compatibility, it might be good choice to modify your theme to be compatible with smarty 3. Link to comment Share on other sites More sharing options...
Recommended Posts