claudiosw Posted February 15, 2017 Share Posted February 15, 2017 I'm transfering a Prestashop server to another server. The origin server is a CentOS with Apache and the destination is a Ubuntu with Nginx. The problem is that I got this error when I open a product link in Prestashop: Fatal error: Uncaught SmartyCompilerException: Syntax Error in template "/var/www/loja/themes/default-bootstrap/product.tpl" on line 48 "{/addJsDefL}{/strip}{/if}" unexpected closing tag in /var/www/loja/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /var/www/loja/tools/smarty/sysplugins/smarty_internal_compilebase.php(170): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unexpected clos...', 48) #1 /var/www/loja/tools/smarty/sysplugins/smarty_internal_compile_private_registered_block.php(85): Smarty_Internal_CompileBase->closeTag(Object(Smarty_Internal_SmartyTemplateCompiler), 'addJsDefL') #2 /var/www/loja/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Private_Registered_Block->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, 'addJsDefLclose', NULL) #3 /var/www/loja/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(417): Smarty_Internal_TemplateCompilerBase->callTagC in /var/www/loja/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667 It seems that, for example, the code "{/addJsDefL}" need to have spaces like this "{ /addJsDefL }" But in the old server the code "{/addJsDefL}" works without any problems. So, is there a way to make the new server work with the old way? Maybe a parameter in the server? Thanks in advance, 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