Linux下安装 TestLink常见问题解决方法

2023-06-12,,

Read/write permissions

For security reason we suggest that directories tagged with [S] on following messages, will be made UNREACHEABLE from browser
Checking if C:\xampp\htdocs\testlink-1.9.5\gui\templates_c directory exists OK
Checking if C:\xampp\htdocs\testlink-1.9.5\gui\templates_c directory is writable (by user used to run webserver process) OK
Checking if /var/testlink/logs/ directory exists [S] Failed!
Checking if /var/testlink/upload_area/ directory exists [S] Failed!

 

Unfortunately, TestLink scripted setup cannot continue at the moment, due to the above 2 errors. 
Please correct the errors, and try again (reload page). If you need help figuring out how to fix the problems, please read Installation manual and visit TestLink Forums [click here].

解决方法
找到你安装路径下的配置文件Config.inc.php,把他修改成下面两句

$tlCfg->log_path = TL_ABS_PATH . 'logs' . DIRECTORY_SEPARATOR ;
$g_repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR;
 

文件权限问题

 

到你的安装目录下修改文件夹权限,在终端中执行以下命令:
chmod -R 777 templates_c/
chmod -R 777 logs/
chmod -R 777 upload_area/

 
 

Linux下安装 TestLink常见问题解决方法的相关教程结束。

《Linux下安装 TestLink常见问题解决方法.doc》

下载本文的Word格式文档,以方便收藏与打印。