|
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 |
tttt_ssss Smarty n00b
Joined: 10 Mar 2012 Posts: 2
|
Posted: Sat Mar 10, 2012 3:55 pm Post subject: unknown tag "geturl" for Smarty 3.1.8 |
|
|
I upgraded from Smarty 2 to 3, however now geturl tag does not work, does anybody know the reason and how can I find something to replace this tag? Here is the error info:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template
"p.htm" on line 250 "<li><a href="<{geturl type='prod' user=$slist.user uid=
$slist.userid tid=$slist.id}>">" unknown tag "geturl"' in
smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 Stack trace: #0
smarty/sysplugins/smarty_internal_templatecompilerbase.php(406):
Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ge...', 250) #1
smarty/sysplugins/smarty_internal_templateparser.php(2413):
Smarty_Internal_TemplateCompilerBase->compileTag('geturl', Array) #2
smarty/sysplugins/smarty_internal_templateparser.php(3111): Smarty_Internal_Templateparser-
>yy_r36() #3 smarty/sysplugins/smarty_internal_templateparser.php(3211):
Smarty_Internal_Templateparser->yy_reduce( in
smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 627 |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Mar 10, 2012 4:34 pm Post subject: |
|
|
{geturl} is not a standard Smarty tag. Maybe you had this as a user defined plugin in the plugins folder of Smarty2 and you have to copy it into Smarty 3. |
|
Back to top |
|
tttt_ssss Smarty n00b
Joined: 10 Mar 2012 Posts: 2
|
Posted: Sun Mar 11, 2012 3:46 pm Post subject: |
|
|
Yes, this is the reason. Thanks a lot! |
|
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
|