2015-12-11 73 views
0

我一步一步跟着wamp服务器安装testink。 一切都很好,除了最后一步,当我打开链接: http://localhost/testlink-1.9.14/login.php在testlink安装过程中出现SmartyCompilerException错误

我得到这个:

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 

你能帮我请,谢谢

回答

0

我建议改变persmission的gui和third_party文件夹

chmod -R 777 gui/ 

chmod -R 777 third_party/