SmartyCompilerException未知标记“include”

时间:2015-04-22 11:09:25

标签: php smarty3

我最近将网站从PHP 5.2环境迁移到5.4.35。

该网站使用Smarty 3.1进行模板化,不幸的是它不是我熟悉的工具。由于重大举措,我们得到了未知标签“包含”错误。

我想知道社区中是否有人曾经遇到过这个问题?

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/vhosts/domain.com/httpdocs/templates/index.html" on line 1 "<!--{include file="_header.html"}-->" unknown tag "include"' in /var/www/vhosts/domain.com/httpdocs/lib/smarty3.1/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 617

我尝试搜索Smarty论坛但收效甚微。有谁知道我需要找什么?

0 个答案:

没有答案