一, 安装Testlink checking时报错
1. 错误描述:
Checking if /var/testlink/logs/ directory exists [S] </B<< td> Failed!
Checking if /var/testlink/upload_area/ directory exists [S] </B<< td> Failed!
2. 问题解决:
修改testlink下的config.inc.php文件:注释:$tlCfg->log_path = '/var/testlink/logs/'; /* unix example添加:$tlCfg->log_path = 'C:\xampp\htdocs\testlink/logs/';
注释:$g_repositoryPath = '/var/testlink/upload_area/'; /* unix example添加:$g_repositoryPath = 'C:\xampp\htdocs\testlink/upload_area/';
二, TestLink 打开执行测试界面出错: Cannot use string offset as an array
1. 错误描述:Fatal error: Uncaught Error: Cannot use string offset as an array in C:\xampp\htdocs\testlink\lib\execute\execSetResults.php:1534 Stack trace: #0 C:\xampp\htdocs\testlink\lib\execute\execSetResults.php(94): processTestCase(NULL, Object(stdClass), Object(stdClass), Object(stdClass), Array, Object(tree), Object(testcase), Object(tlAttachmentRepository)) #1 {main} thrown in C:\xampp\htdocs\testlink\lib\execute\execSetResults.php on line 1533
2. 问题解决:
首先:打开execSetResults.php ,定位到1511 附近,找到$guiObj->design_time_cfields=''
再则:把$guiObj->design_time_cfields=''改为$guiObj->design_time_cfields=[]