Jump to content

Recommended Posts

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

  • 2 weeks later...

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

  • 4 months later...

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

  • 9 years later...

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

  • 1 month later...
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 by ComGrafPL (see edit history)
Link to comment
Share on other sites

  • 3 months later...

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

  • 4 weeks later...
  • 1 month later...
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

Guest
This topic is now closed to further replies.
×
×
  • Create New...