从官网上下载了smarty3.0.7,然后放到WEB站点下运行,直接运行里面的DEMO里的index.php出现如下错误,望指教,谢谢!/*%%SmartyNocache:119404da31b2e2b2922-84595868%%*//*/%%SmartyNocache:119404da31b2e2b2922-84595868%%*/
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template ".\templates\header.tpl" on line 3 "{popup_init src="/javascripts/overlib.js"}" unknown tag "popup_init"' in D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php:431 Stack trace: #0 D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', 3) #1 D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templateparser.php(2319): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r35() #3 D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(35) #4 D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(11, '?') #5 D:\phpstudy\Sma in D:\phpstudy\Smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 431