Pammachio Posted June 8, 2015 Share Posted June 8, 2015 Hello,I shop with analytics loaded into the module free me from the discrepancies, and then saw that I had to make other updates, to close I tried to enter the code in analytics header.tpl, after reading in other forums that could be done. I insert the code in the bottom of the file, load the file and try to see: no more, blank page.Compile rename, rename cache .. nothing. Then get back to business as usual, I delete code analytics, load, rename and ricompile cache, but nothing. And now what? the site between the other is in production.The version of the forum is 1.6.0.11 Thanks for any help Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted June 8, 2015 Share Posted June 8, 2015 Analytic code is javascript code so it may have { and } which is not allowed in smarty templates files. SO use {ldelim} for "{" and {rdelim} for "}" or place whole scipt inside {literal} and {/literal} Link to comment Share on other sites More sharing options...
Pammachio Posted June 8, 2015 Author Share Posted June 8, 2015 thanks for your answer: analytics is not a problem now: the problem is to restart the store, which is now blank page. How can I do it again? I do not have the backup folder, but I back up the database, which I have not used for fear of doing any further damage.thanks Link to comment Share on other sites More sharing options...
Pammachio Posted June 8, 2015 Author Share Posted June 8, 2015 (edited) This is the error: Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/chaletvac/www/sito.it/themes/default-bootstrap/header.tpl" on line 66 "{/if}" unexpected closing tag <-- thrown in /home/chaletvac/www/sito.it/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 66 how to solve?thanks Edited June 8, 2015 by Pammachio (see edit history) Link to comment Share on other sites More sharing options...
Pammachio Posted June 8, 2015 Author Share Posted June 8, 2015 solved, it was gone a piece of codethanks 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