Anonym Posted January 16, 2015 Share Posted January 16, 2015 Hello I have bought a custom template and installed it on my 1.6.0.11 prestashop store . After enabling the template I get this error Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "public_html/themes/onlinesale/footer.tpl" on line 51 "{getBelvgBlockContent}" unknown tag "getBelvgBlockContent" <-- thrown in public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 51 Has anyone any idea why I get the error ? Link to comment Share on other sites More sharing options...
NemoPS Posted January 16, 2015 Share Posted January 16, 2015 Yes, is that a variable? Try with {$getBelvgBlockContent} Or is it something else? Link to comment Share on other sites More sharing options...
Anonym Posted January 16, 2015 Author Share Posted January 16, 2015 I don't know what it is . It came with the theme . I already tried with {$getBelvgBlockContent} but doesn't work . It appers multiple times in header.tpl and footer.tpl files Sometimes is like this {getBelvgBlockContent id="banner1"} Link to comment Share on other sites More sharing options...
NemoPS Posted January 17, 2015 Share Posted January 17, 2015 Then it's a custom function. It needs to be registered within smarty before usage, have a look at the template's documentation and see if it mentions anything about that Link to comment Share on other sites More sharing options...
Anonym Posted January 17, 2015 Author Share Posted January 17, 2015 I have did a clean install again and it seems that is working now without doing any change . Don't know what was the cause of that error . Than you anyway for your help . Regards Link to comment Share on other sites More sharing options...
wippa Posted November 25, 2017 Share Posted November 25, 2017 I had this problem in the past, with some theme i bought. First of, you should deactivate an option in "Performance" that says "Disable all overrides". The function "getBelvgBlockContent" is defined in FrontController.php which is placed in override folder. I found that the theme install placed the file inside /classes/controllers, which is likely a wrong place. iI just moved the file to parent folder and started to work. I am not sure of some details and i will have to trace files and changes to be sure of the reason, but... moving it solves and it is enough. 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