Error installing script. When installing, it gives this error:

Fatal error: Smarty error: [in deposit.tpl line 74]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 553) /Smarty.class.php on line 1102

What does it mean?

  • @ Alexander Gizhevsky, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Artem

1 answer 1

Perhaps you are using tpl JS code with {} characters

It is better to put JS code in such tags.

{literal}<script>тут код</script>{/literal}