已解决 无法进入“易软天创项目管理系统”的登陆页面

如图,我已经把apache,mysql,XXD已经安装好了,也启用了apache验证


按下访问禅道的时候,也会弹出apache的登陆弹窗,然后进入到这个页面:



我按下 开源版 的按钮,出现的是一个空白页面,我把php的Debug打开后,出现了如下的报错:


13:07:10 ERROR: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in framework\base\router.class.php on line 2915, last called by framework\base\router.class.php on line 2823 through function connectByPDO.
in C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php on line 2988 when visiting

Fatal error: Uncaught EndResponseException in C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php:3419 Stack trace: #0 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('') #1 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end() #2 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', 'C:\\Tools\\instal...', 2988) #3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', 'C:\\Tools\\instal...', 2988, Array) #4 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256) #5 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', 'C:\\Tools\\instal...', 2823, true) #6 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2823): baseRouter->conn in  C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php on line  3419

13:07:10 Uncaught EndResponseException in C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php:3419
Stack trace:
#0 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('')
#1 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end()
#2 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(256, 'ERROR: SQLSTATE...', 'C:\\Tools\\instal...', 2988)
#3 [internal function]: router->saveError(256, 'ERROR: SQLSTATE...', 'C:\\Tools\\instal...', 2988, Array)
#4 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2988): trigger_error('ERROR: SQLSTATE...', 256)
#5 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2915): baseRouter->triggerError('SQLSTATE[HY000]...', 'C:\\Tools\\instal...', 2823, true)
#6 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2823): baseRouter->conn in C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php on line 3419 when visiting

Fatal error: Uncaught EndResponseException in C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php:3419 Stack trace: #0 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\helper.class.php(323): EndResponseException::create('') #1 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(3098): helper::end() #2 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\router.class.php(350): baseRouter->saveError(1, 'Uncaught EndRes...', 'C:\\Tools\\instal...', 3419) #3 C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php(2954): router->saveError(1, 'Uncaught EndRes...', 'C:\\Tools\\instal...', 3419) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in  C:\Tools\installation\ZenTao\ZenTao\app\zentao\framework\base\router.class.php on line  3419


请问要如何才能排除这个问题呢?谢谢


环境:

禅道开源版18.8

Windows 10 家庭版

禅道版本 18.7 Windows安装包
操作系统 Other
客户端浏览器 Chrome

提问者:悬赏:5 日期: 2023-10-24 13:10:49 答案:1 点击:251

获取技术支持

QQ: 电话:
备注

上面的图错了,应该是这个:


设置备注
答案列表
最佳答案
2023/10/24

1, apache 的安全认证关闭 
2, 是否有修改 mysql 密码? 如果有修改 ,调整 zentao/config/my.php 文件的配置 
3, 从报错信息来看 是 数据库无法连接, 看看数据库有错误信息吗? 


2023/10/24
你是对的,之前要求改mysql密码,我修改了mysql.php上的密码后就能进去了
2023/10/26
学习了