Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty Compiler Errors

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
SatishM
Smarty n00b


Joined: 15 Feb 2016
Posts: 2

PostPosted: Mon Feb 15, 2016 8:47 am    Post subject: Smarty Compiler Errors Reply with quote

Hello Guys i m trying to restore my prestashop website from backup but i am not able to understand this error. Can anyone help me.




Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/imitalac/public_html/admin388zjweix/themes/default/template/controllers/modules/login_addons.tpl" on line 40 "<a href="{$addons_register_link|escape:'html':'UTF-8'}"><img class="img-responsive center-block" src="themes/default/img/prestashop-addons-logo.png" alt="Logo PrestaShop Addons"/></a>" unknown modifier "escape" <-- thrown in /home/imitalac/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 40


Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/imitalac/public_html/themes/theme1248/modules/tmnewsletter/views/templates/hook/tmnewsletter.tpl" on line 2 "{addJsDef user_newsletter_status = $user_newsletter_status|escape:'intval'}" unknown modifier "escape" <-- thrown in /home/imitalac/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 2
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1583

PostPosted: Mon Feb 15, 2016 5:47 pm    Post subject: Reply with quote

You're missing standard plugins in your Smarty setup.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7367
Location: Lincoln Nebraska, USA

PostPosted: Mon Feb 15, 2016 9:38 pm    Post subject: Reply with quote

The path to the plugins folder may be incorrect.
Back to top
View user's profile Send private message Visit poster's website
SatishM
Smarty n00b


Joined: 15 Feb 2016
Posts: 2

PostPosted: Tue Feb 16, 2016 7:22 am    Post subject: Reply with quote

The problem is solved i have just loaded the whole smarty folder again,
Thank you and now its working fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP