禅道使用
596860
部署在服务器上的禅道突然白屏进不去了已解决 悬赏11积分
提问者咆哮的小马驹
答案数1
阅读数282
发表时间2023-12-05 22:28:26
22:24:56 ERROR: SQLSTATE[HY000] [1049] Unknown database 'zentao' in framework/base/router.class.php on line 2915, last called by framework/base/router.class.php on line 2823 through function connectByPDO.
in framework/base/router.class.php on line 2988 when visiting
Fatal error: Uncaught EndResponseException in /opt/zbox/app/zentao/framework/base/router.class.php:3419 Stack trace: #0 /opt/zbox/app/zentao/framework/helper.class.php(323): EndResponseException::create('') #1 /opt/zbox/app/zentao/framework/base/router.class.php(3098): helper::end() #2 /opt/zbox/app/zentao/framework/router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', '/opt/zbox/app/z...', 2988) #3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', '/opt/zbox/app/z...', 2988, Array) #4 /opt/zbox/app/zentao/framework/base/router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256) #5 /opt/zbox/app/zentao/framework/base/router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', '/opt/zbox/app/z...', 2823, true) #6 /opt/zbox/app/zentao/framework/base/router.class.php(2823): baseRouter->connectByPDO(Object(stdClass), 'MASTER') #7 /opt/zbox/app/zentao/framework/base/router.class.php(424): baseRouter->connectDB() #8 /opt/zbox/app/zentao/framework/base/router.class.php(453): bas in /opt/zbox/app/zentao/framework/base/router.class.php on line 3419
22:24:56 Uncaught EndResponseException in framework/base/router.class.php:3419
Stack trace:
#0 framework/helper.class.php(323): EndResponseException::create('')
#1 framework/base/router.class.php(3098): helper::end()
#2 framework/router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', '/opt/zbox/app/z...', 2988)
#3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', '/opt/zbox/app/z...', 2988, Array)
#4 framework/base/router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256)
#5 framework/base/router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', '/opt/zbox/app/z...', 2823, true)
#6 framework/base/router.class.php(2823): baseRouter->connectByPDO(Object(stdClass), 'MASTER')
#7 framework/base/router.class.php(424): baseRouter->connectDB()
#8 framework/base/router.class.php(453): bas in framework/base/router.class.php on line 3419 when visiting
Fatal error: Uncaught EndResponseException in /opt/zbox/app/zentao/framework/base/router.class.php:3419 Stack trace: #0 /opt/zbox/app/zentao/framework/helper.class.php(323): EndResponseException::create('') #1 /opt/zbox/app/zentao/framework/base/router.class.php(3098): helper::end() #2 /opt/zbox/app/zentao/framework/router.class.php(350): baseRouter->saveError(1, 'Uncaught EndRes...', '/opt/zbox/app/z...', 3419) #3 /opt/zbox/app/zentao/framework/base/router.class.php(2954): router->saveError(1, 'Uncaught EndRes...', '/opt/zbox/app/z...', 3419) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in /opt/zbox/app/zentao/framework/base/router.class.php on line 3419
禅道版本:禅道开源版 18.9
安装包类型:源码包
操作系统:CentOS
客户端浏览器:其他
答案列表
⛄ 您好,报错提示找不到数据库(zentao),请问下近期是有迁移过禅道的数据,或者是有做过什么其他操作吗?
禅道一键安装包数据库物理文件存储在/opt/zbox/data/mysql目录下,可以在这个目录看下是否存在zentao库。
回复
|
联系我们
联系人
刘璐/高级客户经理
电话(微信)
18562550650
QQ号码
2845263372
联系邮箱
liulu@chandao.com