Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Fatal error: Uncaught exception

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
drengrforPHP
Smarty n00b


Joined: 17 Oct 2012
Posts: 2

PostPosted: Wed Oct 17, 2012 2:52 pm    Post subject: Fatal error: Uncaught exception Reply with quote

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template &quot;\xampp\htdocs\filesharing\smarty\templates\inc.top.tpl&quot; on line 8 &quot;{popup_init src=$overlib_src}&quot; unknown tag &quot;popup_init&quot;' in C:\xampp\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:657 Stack trace: #0 C:\xampp\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(443): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', Cool #1 C:\xampp\smarty\libs\sysplugins\smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 C:\xampp\smarty\libs\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 C:\xampp\smarty\libs\sysplugins\smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 C:\xampp\smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '????<t in C:\xampp\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 657
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Wed Oct 17, 2012 7:20 pm    Post subject: Reply with quote

The plugins "popup_init" and "popup" are not part of the Smarty3 distribution. You may need to copy these over from the plugins folder of Smarty2.
Back to top
View user's profile Send private message
drengrforPHP
Smarty n00b


Joined: 17 Oct 2012
Posts: 2

PostPosted: Wed Oct 17, 2012 7:39 pm    Post subject: It worked Reply with quote

Thank you U. Tews, that suggestion really worked and the error disappeared. Cheers.
Back to top
View user's profile Send private message
cybershopdirect
Smarty n00b


Joined: 24 Mar 2014
Posts: 2

PostPosted: Mon Mar 24, 2014 4:04 am    Post subject: Will that work for this error message? Reply with quote

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/cybersho/public_html/modules/homeslider/views/templates/hook/header.tpl" on line 2 "{addJsDef homeslider_loop=$homeslider.loop}" unknown tag "addJsDef"' in /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(453): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ad...', 2) #1 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('addJsDef', Array) #2 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36) #4 /hom in /home/cybersho/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

Has anyone a solution? I can still get into the admin page and make changes but the site doesn't come up.
Back to top
View user's profile Send private message Send e-mail
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Mon Mar 24, 2014 4:28 am    Post subject: Reply with quote

The plugin "addJsDef " is not part of the Smarty3 distribution. You may need to copy these over from the plugins folder of Smarty2.


And please post your question just once!!!!!
Back to top
View user's profile Send private message
cybershopdirect
Smarty n00b


Joined: 24 Mar 2014
Posts: 2

PostPosted: Mon Mar 24, 2014 4:30 am    Post subject: How do i do this and where do i find the files? Reply with quote

Where do I find the files?
Back to top
View user's profile Send private message Send e-mail
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Mon Mar 24, 2014 4:35 am    Post subject: Reply with quote

Looks like that you got some shop software which had Smarty2 bundled. Look for a folder named 'plugins'. Otherwise you have to ask at the shop forum or the shop vendor.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General 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