Jump to content

Smarty error - comes back again after I clear bookmarks


Recommended Posts

I get Fatal error: Smarty error: [in /raid1/local/www/data-dist/prestashop/modules/blockviewed/blockviewed.tpl line 10]: syntax error: unrecognized tag 'm' (Smarty_Compiler.class.php, line 590) in /raid1/local/www/data-dist/prestashop/tools/smarty/Smarty.class.php on line 1095

I delete bookmarks, it goes away.... go off to another site come back and the error appears again.

Did anyone get this?

Link to comment
Share on other sites

  • 2 weeks later...

I have still got reports from users that they are getting this error:

Fatal error: Smarty error: [in /raid1/local/www/data-dist/prestashop/modules/blockviewed/blockviewed.tpl line 10]: syntax error: unrecognized tag 'm' (Smarty_Compiler.class.php, line 590) in /raid1/local/www/data-dist/prestashop/tools/smarty/Smarty.class.php on line 109

Please again, can anyone help as I do not have any idea why this is occurring. If you delete your cookies then it goes away.

Link to comment
Share on other sites

  • 1 month later...

Bonjour,
J'avais le même probléme avec en plus page blanche sur hebergement OVH . En mettant dans le config.inc.php le display error a ' on ' pour voir l'erreur.

Erreur :Fatal error: Smarty error: [in /raid1/local/www/data-dist/prestashop/modules/blockviewed/blockviewed.tpl line 10]: syntax error: unrecognized tag ‘m’ (Smarty_Compiler.class.php, line 590) in /raid1/local/www/data-dist/prestashop/tools/smarty/Smarty.class.php on line 109

j'ai corrigé en mettant des ' ' a la ligne 10 de blockviewed.tpl et cela marche bien maintenant.

ancien :

{m s=$viewedProduct->description_short|strip_tags:'UTF-8'|truncate:44 n=12}getProductLink($viewedProduct)}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:htmlall:'UTF-8'}">{$img_dir}bullet.gif>" />



New :

{'m' s=$viewedProduct->description_short|strip_tags:'UTF-8'|truncate:44 n=12}getProductLink($viewedProduct)}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:htmlall:'UTF-8'}">{$img_dir}bullet.gif>" />

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...