0

我一步一步地安装了带有 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

你能帮我吗,谢谢

4

1 回答 1

0

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

chmod -R 777 gui/

chmod -R 777 third_party/
于 2016-01-31T18:49:30.953 回答