【问题标题】:SmartyCompilerException error during testlink installationtestlink安装期间SmartyCompilerException错误
【发布时间】:2016-02-02 03:16:13
【问题描述】:

我一步一步地安装了带有 wamp 服务器的 testink。 一切都很好,除了最后一步,当我打开链接时: http://localhost/testlink-1.9.14/login.php

我明白了:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\wamp\www\testlink-1.9.14\gui\templates\login.tpl" on line 23 "{if $tlCfg->demoMode}{$labels.demo_usage}{/if}" unknown tag "private_print_expression"' in C:\wamp\www\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
( ! ) SmartyCompilerException: Syntax Error in template "C:\wamp\www\testlink-1.9.14\gui\templates\login.tpl" on line 23 "{if $tlCfg->demoMode}{$labels.demo_usage}{/if}" unknown tag "private_print_expression" in C:\wamp\www\testlink-1.9.14\third_party\smarty3\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 665
Call Stack
#   Time    Memory  Function    Location
1   0.0006  303984  {main}( )   ..\login.php:0
2   0.1015  8857432 renderLoginScreen( )    ..\login.php:75
3   0.1034  8972560 Smarty_Internal_TemplateBase->display( )    ..\login.php:230
4   0.1034  8976768 Smarty_Internal_TemplateBase->fetch( )  ..\smarty_internal_templatebase.php:374
5   0.1047  9006248 Smarty_Internal_Template->compileTemplateSource( )  ..\smarty_internal_templatebase.php:155

你能帮帮我吗,谢谢

【问题讨论】:

    标签: testlink


    【解决方案1】:

    我建议更改gui和third_party文件夹的权限

    chmod -R 777 gui/
    
    chmod -R 777 third_party/
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多