菜子同学 2015-01-18 12:16 采纳率: 66.7%
浏览 2318
已采纳

smarty模板引用overlib出错

php使用smarty模板引用overlib时提示错误(模板分界符已经设为<{,}>):
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template ".\templates\test5.tpl" on line 53 "<{popup_init src='/smarty/overlib/overlib.js'}>" unknown tag "popup_init"' in D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:656 Stack trace: #0 D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(441): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', 53) #1 D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(2393): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(3096): Smarty_Internal_Templateparser->yy_r36() #3 D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(3196): Smarty_Internal_Templateparser->yy_reduce(36) #4 D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(105): Smarty_Int in D:\wamp\apache\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 656

  • 写回答

1条回答 默认 最新

  • threenewbee 2015-01-18 12:25
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器