2 u013066838 u013066838 于 2014.08.30 19:00 提问

smarty调用overlib老是出错,求大神!

模板:<{popup_init src="../overlib/overlib.js"}>
>aa

错误提示:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "..\templates\test.tpl" on line 1 "&lt;{popup_init src=&quot;../overlib/overlib.js&quot;}&gt;" unknown tag "popup_init"' in D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templatecompilerbase.php:666 Stack trace: #0 D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templatecompilerbase.php(452): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', 1) #1 D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36() #3 D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templatepa in D:\appserver\AppServ\www\tiaozaoshichang\controler\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 666

1个回答

u011019000
u011019000   2015.01.18 20:09

你调好了么 我和你出现了同样的问题。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!