2015-12-11 37 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/