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

unknown tag "geturl" for Smarty 3.1.8

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


Joined: 10 Mar 2012
Posts: 2

PostPosted: Sat Mar 10, 2012 3:55 pm    Post subject: unknown tag "geturl" for Smarty 3.1.8 Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sat Mar 10, 2012 4:34 pm    Post subject: Reply with quote

{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
View user's profile Send private message
tttt_ssss
Smarty n00b


Joined: 10 Mar 2012
Posts: 2

PostPosted: Sun Mar 11, 2012 3:46 pm    Post subject: Reply with quote

Yes, this is the reason. Thanks a lot!
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