testlink中数据库导入,出现问题。请大家帮忙
我在easyPHP上安装的testlink1.9导入。sql文件后登录testlink后页面显示
DB Access Error - debug_print_backtrace() OUTPUT START
#0database->exec_query(SELECT id,login,password,first,last,email,role_id,locale,login AS fullname, active,default_testproject_id, script_keyFROM users WHERE id = 1) called at
#1database->fetchFirstRow(SELECT id,login,password,first,last,email,role_id,locale,login AS fullname, active,default_testproject_id, script_keyFROM users WHERE id = 1) called at
#2tlUser->readFromDB(database Object ( => ADODB_mysql Object ( => mysql, => mysql, => 1, => 1, => SHOW TABLES, => SHOW COLUMNS FROM `%s`, => 'Y-m-d H:i:s', => 1, => 1, => 1, => 1, => CURDATE(), => NOW(), => , => 1, => 1, => 0, => substring, => `, => , => update %s set id=LAST_INSERT_ID(id+1);, => create table %s (id int not null), => select count(*) from %s, => insert into %s values (%s), => drop table %s, => testlink, => localhost, => admin, => admin, => , => 262144, => +, => length, => rand(), => upper, => 'Y-m-d', => 1, => 0, => \', => , => , => , =>, =>, => , => , => , => 0, => , => 3600, => , => , => 11211, => , => , => ADORecordSet_array, => , => 0, => 0, => 1, => , => , => , => , => , => , => , => , => ADORecordSet_, => 1, => 0, => 0, => 2, => null, => , => , => Resource id #38, => Unknown column 'script_key' in 'field list', => , => Resource id #42, => , => , => , => , => , => , => testlink), => Array (), => 1, => 5, => 0.0032,[] => 0,[] => 0)) called at
#3checkSessionValid(database Object ( => ADODB_mysql Object ( => mysql, => mysql, => 1, => 1, => SHOW TABLES, => SHOW COLUMNS FROM `%s`, => 'Y-m-d H:i:s', => 1, => 1, => 1, => 1, => CURDATE(), => NOW(), => , => 1, => 1, => 0, => substring, => `, => , => update %s set id=LAST_INSERT_ID(id+1);, => create table %s (id int not null), => select count(*) from %s, => insert into %s values (%s), => drop table %s, => testlink, => localhost, => admin, => admin, => , => 262144, => +, => length, => rand(), => upper, => 'Y-m-d', => 1, => 0, => \', => , => , => , =>, =>, => , => , => , => 0, => , => 3600, => , => , => 11211, => , => , => ADORecordSet_array, => , => 0, => 0, => 1, => , => , => , => , => , => , => , => , => ADORecordSet_, => 1, => 0, => 0, => 2, => null, => , => , => Resource id #38, => Unknown column 'script_key' in 'field list', => , => Resource id #42, => , => , => , => , => , => , => testlink), => Array (), => 1, => 5, => 0.0032,[] => 0,[] => 0)) called at
#4testlinkInitPage(database Object ( => ADODB_mysql Object ( => mysql, => mysql, => 1, => 1, => SHOW TABLES, => SHOW COLUMNS FROM `%s`, => 'Y-m-d H:i:s', => 1, => 1, => 1, => 1, => CURDATE(), => NOW(), => , => 1, => 1, => 0, => substring, => `, => , => update %s set id=LAST_INSERT_ID(id+1);, => create table %s (id int not null), => select count(*) from %s, => insert into %s values (%s), => drop table %s, => testlink, => localhost, => admin, => admin, => , => 262144, => +, => length, => rand(), => upper, => 'Y-m-d', => 1, => 0, => \', => , => , => , =>, =>, => , => , => , => 0, => , => 3600, => , => , => 11211, => , => , => ADORecordSet_array, => , => 0, => 0, => 1, => , => , => , => , => , => , => , => , => ADORecordSet_, => 1, => 0, => 0, => 2, => null, => , => , => Resource id #38, => Unknown column 'script_key' in 'field list', => , => Resource id #42, => , => , => , => , => , => , => testlink), => Array (), => 1, => 5, => 0.0032,[] => 0,[] => 0), 1) called at
检查一下数据库访问帐号和权限
DB Access Error - debug_print_backtrace() OUTPUT START 说明是数据库访问错误。估计是数据库访问帐号和权限造成的,可以检查一下。 我也是1.9版本,登陆的时候出现
DB Access Error - debug_print_backtrace() OUTPUT START
==============================================================================
#0database->exec_query(DELETE FROM eventsWHERE fired_at < ) called at
#1tlEventManager->deleteEventsFor(, ) called at
#2tlLogger->deleteEventsFor(, ) called at
==============================================================================
请问楼主现在解决了吗?
页:
[1]