skahmed Posted December 2, 2011 Share Posted December 2, 2011 Dear Team, I have installed 'Prestashop' software on my website. Backend seems to be working fine, however while trying to access the frontend store I get the following error: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/vhosts/solarcenter.orgfree.com/modules/feeder/feederHeader.tpl" on line 27 "<link rel="alternate" type="application/rss+xml" title="{$meta_title|escape:html:'UTF-8'}" href="{$feedUrl}" />" unknown tag "private_print_expression"' in /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 27) #1 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2301): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r26() in /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 I tried using Smarty 2 instead of 3 from Admin-Preferences. This time I got the following error: Fatal error: require_once(): Failed opening required '/home/vhosts/solarcenter.orgfree.com/tools/smarty_v2/internals/core.assemble_plugin_filepath.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/vhosts/solarcenter.orgfree.com/tools/smarty_v2/Smarty.class.php on line 1392 I am a newbie and would highly appreciate if someone can help me resolve this issue. Thank you. Link to comment Share on other sites More sharing options...
daYmo Posted December 13, 2011 Share Posted December 13, 2011 I've got the same error ... On my local machine it works but on a pre-production serveur ... I've got the errors. I've tried : delete cache, I'm also using Smarty 2 instead of 3 from Admin-Preferences. I've checked "Force compilation and uncheck use cache from Admin-Prefs I've got the error on category and product list page because of pagination.tpl file. What I did : - Transfert from development environment all my tools/smarty directory. - Admin : Preferences / Apparences I selected the default template and checked : I had no errors. - I choosed back My template and it worked.... But dunno if I had deleted something wrong in tools/smarty/compile and tools/smarty/cache or it's the fact to have chosen the default theme ! Anyway ... it work again for me ! Link to comment Share on other sites More sharing options...
inktworld Posted April 25, 2012 Share Posted April 25, 2012 Hello; i've got the same eroor., i tried to change my template to the default template; i checked, i had no errors. I changed back My old template (not the default template), And it DOESN'T works !! Can u help me please.?? I'm also a newbie ((( u can see it on my website: www.inkt-world.be Link to comment Share on other sites More sharing options...
JuanAFT Posted December 12, 2021 Share Posted December 12, 2021 Hello. I have found the same error. updating from 1.7.7.8 tp 1.7.8.2 Prestashop version. If I choose clasic theme, web run well. But if child theme is selected, Error 500 is shown. When I active debug mode I get folowing messages: SmartyCompilerException Syntax error in template "file:/home/----web----/www/themes/classic/templates/_partials/header.tpl" on line 65 "{renderLogo}" unknown tag 'renderLogo' in smarty_internal_templatecompilerbase.php line 65 at Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag \'renderLogo\'', 65, true)in smarty_internal_templatecompilerbase.php line 1757 at Smarty_Internal_TemplateCompilerBase->compileTag2('renderLogo', array(), array())in smarty_internal_templatecompilerbase.php line 565 at Smarty_Internal_TemplateCompilerBase->compileTag('renderLogo', array())in smarty_internal_templateparser.php line 2272 at Smarty_Internal_Templateparser->yy_r13()in smarty_internal_templateparser.php line 3477 at Smarty_Internal_Templateparser->yy_reduce(13)in smarty_internal_templateparser.php line 3569 at Smarty_Internal_Templateparser->doParse(4, ' </h1> ')in smarty_internal_smartytemplatecompiler.php line 128 I hope we find solution. Best regards. Link to comment Share on other sites More sharing options...
sylvainlepetit Posted January 31, 2022 Share Posted January 31, 2022 (edited) Hello, I have exactly the same problem when updating from 1.7.7.7 to 1.7.8.3 but when checkout Syntax error in template "file:/home/demotro/shop/themes/classic/templates/checkout/_partials/header.tpl" on line 30 "{renderLogo}" unknown tag 'renderLogo' Edited January 31, 2022 by sylvainlepetit (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 31, 2022 Share Posted January 31, 2022 (edited) 5 minutes ago, sylvainlepetit said: Hello, I have exactly the same problem when updating from 1.7.7.7 to 1.7.8.3 but when checkout Syntax error in template "file:/home/demotro/shop/themes/classic/templates/checkout/_partials/header.tpl" on line 30 "{renderLogo}" unknown tag 'renderLogo' Error on updating or after updating? PHP version? You should use 7.4 Edited January 31, 2022 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
sylvainlepetit Posted January 31, 2022 Share Posted January 31, 2022 (edited) Hello, I use php 7.4.27 error after updating. When I add a product into the cart and when I want to checkout Edited January 31, 2022 by sylvainlepetit (see edit history) Link to comment Share on other sites More sharing options...
Msoria2s Posted May 4, 2022 Share Posted May 4, 2022 hello ! I have the same problem when updating to version 7.7.8 (stable). I get an error in header.ptl on line 65 that refers to the "render logo" My PHP version is 7.4.29 I need an urgent solution. Thank you !! Link to comment Share on other sites More sharing options...
ecommerce16 Posted May 4, 2022 Share Posted May 4, 2022 https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Link to comment Share on other sites More sharing options...
Msoria2s Posted May 4, 2022 Share Posted May 4, 2022 1 minute ago, ecommerce16 said: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ I meet the requirements that appear there and I still get that error Link to comment Share on other sites More sharing options...
ecommerce16 Posted May 4, 2022 Share Posted May 4, 2022 you named: My PHP version is 7.4.29 in combination with 1.7.7.8 thats PHP 7.3 most errors appear in combination with the wrong php version. Link to comment Share on other sites More sharing options...
Beeseephetneti7 Posted May 26, 2022 Share Posted May 26, 2022 I have added this on my site I didn't face any dificulty if you got the eroor., change template to the default template; and checked. I changed back My old template (not the default template), And iworks !! Link to comment Share on other sites More sharing options...
kirianjahiem Posted July 24, 2022 Share Posted July 24, 2022 On 12/2/2011 at 3:03 PM, skahmed said: Dear Team, I have installed 'Prestashop' software on my website. Backend seems to be working fine, however while trying to access the frontend store I get the following error: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/vhosts/solarcenter.orgfree.com/modules/feeder/feederHeader.tpl" on line 27 "<link rel="alternate" type="application/rss+xml" title="{$meta_title|escape:html:'UTF-8'}" href="{$feedUrl}" />" unknown tag "private_print_expression"' in /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pr...', 27) #1 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2301): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array) #2 /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r26() in /home/vhosts/solarcenter.orgfree.com/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 I tried using Smarty 2 instead of 3 from Admin-Preferences. This time I got the following error: Fatal error: require_once(): Failed opening required '/home/vhosts/solarcenter.orgfree.com/tools/smarty_v2/internals/core.assemble_plugin_filepath.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/vhosts/solarcenter.orgfree.com/tools/smarty_v2/Smarty.class.php on line 1392 I am a newbie and would highly appreciate if someone can help me resolve this issue. Thank you. Error on updating or after updating? Link to comment Share on other sites More sharing options...
ecommerce16 Posted July 24, 2022 Share Posted July 24, 2022 5 minuten geleden, kirianjahiem zei: Error on updating or after updating? youre responding on a post of 11 years ago. I will close this topic Link to comment Share on other sites More sharing options...
Recommended Posts