太通用的聪明错误..无法缩小范围


Too generic smarty error... can't narrow it down

长话短说:Prestashop 1.6 中的一个模块抛出了一个编译错误。现在,问题是Smarty没有给我任何信息在哪里可以找到它。任何人都可以以某种方式将我发送到正确的文件,或者至少对要更正的内容(例如特定字符串(进行适当的递归搜索?我看到存在与

{* 
* 2007-2014 

但我基本上到处都有它们,因为 tpl 文件有这个版权......另外,我猜什么是xC3...

谢谢!

    Code:
    Fatal error: Uncaught exception 'SmartyCompilerException' in /home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:667 Stack trace: #0 
/home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 
/home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(10, ''xC3') #2 
/home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, ''xC3') #3 
/home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(206): Smarty_Internal_SmartyTemplateCompiler->doCompile('{*'n* 2007-2014 ...') #4 
/home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #5 
/home/compto5/public_html/e/tools/sma in /home/compto5/public_html/e/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 667

更新:我在Prestashop 1.6中恢复了智能控制台,它运行良好,但是此特定页面无法打开控制台,因为它无法真正加载。我在第 667 行看到了该功能,我真的不明白为什么它会截断模板文件,从而出现问题。

首先,您应该在此处放置完整的错误消息(您问题中的错误消息不完整(: /home/compto5/public_html/e/tools/sma in /home/ - 您删除了其中的一部分。

你还提到:

{* * 2007-2014 

如果有{* Smarty 对待是作为评论,所以需要使用*}关闭它

以上将导致 Smarty 错误,但如下:

{* * 2007-2014 *}

使一切都会好起来,但它不会显示在页面上(聪明的评论不会显示在页面中(