禅道配置
598452

禅道18.11版本, 已正常运行数月, 今天突然出现代码级报错已解决 悬赏5积分

提问者深情的板凳 答案数1 阅读数214 发表时间2025-02-10 10:59:34

Fatal error: Uncaught Error: Call to a member function isOpenMethod() on bool in /apps/zentao/framework/base/control.class.php:215 Stack trace: #0 /apps/zentao/framework/control.class.php(34): baseControl->__construct('', '', '') #1 /apps/zentao/module/index/control.php(24): control->__construct() #2 /apps/zentao/framework/base/router.class.php(1593): index->__construct() #3 /apps/zentao/www/index.php(73): baseRouter->setParams() #4 {main} thrown in /apps/zentao/framework/base/control.class.php on line 21510:36:43 Uncaught Error: Call to a member function isOpenMethod() on bool in /apps/zentao/framework/base/control.class.php:215Stack trace:#0 /apps/zentao/framework/control.class.php(34): baseControl->__construct('', '', '')#1 /apps/zentao/module/index/control.php(24): control->__construct()#2 /apps/zentao/framework/base/router.class.php(1593): index->__construct()#3 /apps/zentao/www/index.php(73): baseRouter->setParams()#4 {main}thrown in /apps/zentao/framework/base/control.class.php on line 215 when visitingFatal error: Uncaught EndResponseException in /apps/zentao/framework/base/router.class.php:3487 Stack trace: #0 /apps/zentao/framework/helper.class.php(323): EndResponseException::create('') #1 /apps/zentao/framework/base/router.class.php(3143): helper::end() #2 /apps/zentao/framework/router.class.php(350): baseRouter->saveError(1, 'Uncaught Error:...', '/apps/zentao/fr...', 215) #3 /apps/zentao/framework/base/router.class.php(2998): router->saveError(1, 'Uncaught Error:...', '/apps/zentao/fr...', 215) #4 [internal function]: baseRouter->shutdown() #5 {main} thrown in /apps/zentao/framework/base/router.class.php on line 3487

重新build docker容器也无法恢复, 一定要解掉/data的挂载才能访问, 但是这样一来数据就没了

禅道版本:禅道开源版 18.11

安装包类型:Linux安装包

操作系统:CentOS

客户端浏览器:

设置备注
内容
答案列表
🚢
2025/02/10 最佳答案

登录下禅道数据库,看下zt_config表中,搜一下module=common的数据。

看下是否有类似下图的数据?如果有的话将这3行数据删除,然后再访问禅道试试呢。

f_277c5a8d3cf74935811bd55f6fffd5d2&t=png

这个问题应该是由于之前版本的一个漏洞导致的,可以在https://www.zentao.net/extension-viewext-6.html 这里找下对应的补丁下载后,登录禅道后台-插件-本地安装上传下补丁包

f_470d825fb9d686952f341f456c5af5dc&t=png

或者也可以升级下最新版本,升级前请做好数据备份

升级请参考文档:http://www.zentao.net/book/zentaopmshelp/41.html

备份请参考文档:http://www.zentao.net/book/zentaopmshelp/42.html

联系我们
联系人
高丽亚/高级客户经理
电话(微信)
17667930330
QQ号码
3645260865
联系邮箱
gaoliya@chandao.com
高丽亚
高级客户经理
17667930330
3645260865
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。