已解决 安装时提示错误,错误信息如下:


19:57:53 Uncaught Exception: Could not gather sufficient random data in framework/base/router.class.php:825
Stack trace:
#0 framework/base/router.class.php(825): session_start()
#1 framework/base/router.class.php(374): baseRouter->startSession()
#2 framework/base/router.class.php(401): baseRouter->__construct('pms', '/kumquat/ZenTao...')
#3 www/index.php(30): baseRouter::createApp('pms', '/kumquat/ZenTao...', 'router')
#4 {main}

Next Exception: Could not gather sufficient random data in framework/base/router.class.php:825
Stack trace:
#0 framework/base/router.class.php(825): session_start()
#1 framework/base/router.class.php(374): baseRouter->startSession()
#2 framework/base/router.class.php(401): baseRouter->__construct('pms', '/kumquat/ZenTao...')
#3 /kumquat in framework/base/router.class.php on line 825 when visiting

禅道版本 11.5 源码包
操作系统 CentOS
客户端浏览器 Firefox

提问者: 默曲子 悬赏: 5 日期: 2019-07-04 20:05:34 答案:1 点击:129
设置备注
答案列表
2019/07/05

找到php.ini文件,修改里面的session.save_path参数,将其设置为实际存在的路径(MAC系统Session放到application目录下)。如果是ntfs分区或者linux,还需要为其增加其他人的读写权限。然后重启php-fpm、webserver,然后重新安装。(selinux需要关闭)