在testlink安装期间出现SmartyCompilerException错误

时间:2015-12-11 19:18:00

标签: testlink

我一步一步地使用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

请帮帮我,谢谢

1 个答案:

答案 0 :(得分:0)

我建议更改gui和third_party文件夹的持久性

chmod -R 777 gui/

chmod -R 777 third_party/