linux安装Testlink常见问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lemon_linaa/article/details/85063416

一.Checking if /var/www/html/testlink/gui/templates_c directory is writable (by user used to run webserver process)    Failed!

解决:赋予写的权限

 chmod -R 777 /var/www/html/testlink/gui/templates_c

chmod -R 777 /var/www/html/testlink/logs

chmod -R 777 /var/www/html/testlink/upload_area

二.Checking if /var/testlink/logs/ directory exists [S]   Failed!

解决:

1.编辑config.inc.php文件,$tlCfg->log_path = '[testlinkDir]/logs/';【testlinkDir为testlink解压路径】

三.Checking if /var/testlink/upload_area/ directory exists [S]   Failed!

解决:

1.编辑config.inc.php文件,$tlCfg->g_repositoryPath = '[testlinkDir]/logs/';【testlinkDir为testlink解压路径】

四.TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:
<?php
// Automatically Generated by TestLink Installer - Tue, 18 Dec 18 06:01:08 +0000
define('DB_TYPE', 'mysql');
define('DB_USER', 'testlink');
define('DB_PASS', '123456');
define('DB_HOST', 'localhost');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');

解决:

在testlink解压路径下创建config_db.inc.php文件,并将<?php.....................); 拷贝至config_db.inc.php文件,并授权

touch /var/www/html/testlink/config_db.inc.php

vi config_db.inc.php

chmod 777 config_db.inc.php

五.Testlink设置中文

修改config.inc.php文件中的default_language为zh_CN

======》

猜你喜欢

转载自blog.csdn.net/lemon_linaa/article/details/85063416