菜子同学 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 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM