|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
drengrforPHP Smarty n00b
Joined: 17 Oct 2012 Posts: 2
|
Posted: Wed Oct 17, 2012 2:52 pm Post subject: Fatal error: Uncaught exception |
|
|
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "\xampp\htdocs\filesharing\smarty\templates\inc.top.tpl" on line 8 "{popup_init src=$overlib_src}" unknown tag "popup_init"' 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...', #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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Oct 17, 2012 7:20 pm Post subject: |
|
|
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 |
|
drengrforPHP Smarty n00b
Joined: 17 Oct 2012 Posts: 2
|
Posted: Wed Oct 17, 2012 7:39 pm Post subject: It worked |
|
|
Thank you U. Tews, that suggestion really worked and the error disappeared. Cheers. |
|
Back to top |
|
cybershopdirect Smarty n00b
Joined: 24 Mar 2014 Posts: 2
|
Posted: Mon Mar 24, 2014 4:04 am Post subject: Will that work for this error message? |
|
|
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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Mar 24, 2014 4:28 am Post subject: |
|
|
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 |
|
cybershopdirect Smarty n00b
Joined: 24 Mar 2014 Posts: 2
|
Posted: Mon Mar 24, 2014 4:30 am Post subject: How do i do this and where do i find the files? |
|
|
Where do I find the files? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Mar 24, 2014 4:35 am Post subject: |
|
|
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 |
|
|
|
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
|