Testlink 安装时提示logs/upload路径错误解决办法
如果安装Testlink的时候出现以下问题
For security reasons we suggest that directories tagged with [S] on following messages, will be made UNREACHEABLE from browser.
Give a look to README file, section 'Installation & SECURITY' to understand how to change the defaults.
Checking if /var/www/testlink/gui/templates_c directory exists OK
Checking if /var/www/testlink/gui/templates_c directory is writable (by user used to run webserver process) Failed!
Checking if logs directory exists [S] Failed!
Checking if /var/testlink/upload_area/ directory exists [S] Failed!
解决办法
修改Testlink中的config.inc.php文件vi config.inc.php
logs和upload的两处修改为以下方式:
$tlCfg->log_path = TL_ABS_PATH. 'logs' . DIRECTORY_SEPARATOR ;
$g_repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR;
或者直接改成绝对路径:
$tlCfg->log_path = '/data/www/testlink/logs';
$g_repositoryPath = '/data/www/testlink/upload_area';
最后更新于 2018-05-23 11:12:38 并被添加「testlink」标签,已有 1364 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处
此处评论已关闭