通过禅道后台执行还原动作后直接白屏已解决 悬赏5积分
打开debug后
18:42:52 #0 lib\base\dao\dao.class.php(1672): baseRouter->triggerError()#1 lib\base\dao\dao.class.php(959): baseDAO->sqlError()#2 lib\base\dao\dao.class.php(1100): baseDAO->query()#3 framework\base\router.class.php(933): baseDAO->fetch()#4 framework\base\router.class.php(514): baseRouter->setVision()#5 framework\base\router.class.php(496): baseRouter->setClient()#6 framework\base\router.class.php(543): baseRouter->__construct()#7 www\index.php(33): baseRouter::createApp()#8 {main}ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zentao.zt_user' doesn't exist ,the sql is: 'SELECT
FROM zt_user
wHeRe account
= '\'admin\'' AND deleted
= '0' lImiT 1 ' <p>The sql is: SELECT FROM zt_user
wHeRe account
= '\'admin\'' AND deleted
= '0' lImiT 1 </p> in lib\base\dao\dao.class.php on line 1672, last called by lib\base\dao\dao.class.php on line 959 through function sqlError.in framework\base\router.class.php on line 3257 when visiting
禅道版本:禅道开源版 21.1
安装包类型:源码包
操作系统:Windows 8.1
客户端浏览器:Chrome
禅道-阿龙
2024-11-26 08:47:16
报错信息是数据库中缺少表:Table 'zentao.zt_user' doesn't exist 可以试试手动命令行还原数据库文件,比如linux系统下命令行:/opt/zbox/bin/mysql -uroot -p zentao < xxxxxx.sql 或者登录数据库内:source /path/xxxxxx.sql
回复
|