Troubleshooting information database

Error message

string(xxx) "Smarty error: [in tpl_body:xx line xx]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line xxx)" string(xxx) "Smarty error: [in tpl_body:xx line xx]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line xxx)" string(xxx) "Smarty error: [in tpl_body:xx line xx]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line xxx)"

Solution

Add {literal} and {/literal} around the javascript/jQuery code in your HTML template.

Related categories: - smarty error - frontend - template - javascript -

« Page back