禅道升级
597827

20.5升级20.6后,多人任务编辑报错已解决 悬赏5积分

提问者害羞的夕阳 答案数1 阅读数73 发表时间2024-09-24 13:05:14

编辑页面打开,多人列表未加载,修改后保存,提示:

发生了错误

POST: /zentao/task-edit-632.html?zin=1 Error: Unexpected end of JSON input Response:

禅道版本:禅道开源版 20.6

安装包类型:源码包

操作系统:

客户端浏览器:

设置备注
内容
答案列表
2024/09/24 最佳答案

您好,可以打开debug,查看一下php的报错日志

(1)zentao/config/my.php 中debug的值改成true

(2)重新操作一下有问题的页面

(3)查看日志 zentao/tmp/log/文件中php开头的今天的文件有什么报错。注:不要找sql开头的文件。

🌃
2024/09/25
生了错误

POST: /zentao/task-edit-632.html?zin=1
Error: Unexpected token '<', "<html><hea"... is not valid JSON
Response:
🌃
2024/09/25


#11 {main}ERROR: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'order' at row 1 ,the sql is: 'INSERT INTO `zt_taskteam` (`task`,`order`,`account`,`estimate`,`consumed`,`left`,`status`,`transfer`) VALUES('632','1636','admin','1','0','1','wait','')' <p>The sql is: INSERT INTO `zt_taskteam` (`task`,`order`,`account`,`estimate`,`consumed`,`left`,`status`,`transfer`) VALUES('632','1636','admin','1','0','1','wait','')</p> in lib/base/dao/dao.class.php on line 1663, last called by lib/base/dao/dao.class.php on line 1066 through function sqlError.

in /opt/zbox/app/zentao/framework/base/router.class.php on line 3221 when visiting task-edit-632
🌃
2024/09/25
#0 framework/base/router.class.php(1644): baseRouter->triggerError('the control fil...', '/opt/zbox/app/z...', 1644, true)
#1 framework/router.class.php(539): baseRouter->setControlFile(true)
#2 framework/base/router.class.php(2425): router->setControlFile()
#3 framework/base/router.class.php(1425): baseRouter->setRouteByPathInfo()
#4 www/index.php(80): baseRouter->parseRequest()
#5 {main}ERROR: the control file module/x/control.php not found. in framework/base/router.class.php on line 1644, last called by framework/router.class.php on line 539 through function setControlFile.
in /opt/zbox/app/zentao/framework/base/router.class.php on line 3221 when visiting x
🌃
2024/09/25
Undefined variable: data in /opt/zbox/app/zentao/lib/zin/wg/taskmiscinfo/v1.php on line 65 when visiting task-view-546
2024/09/25
您好,错误信息显示在插入数据时,order列的值为1636,而数据库表中order列可能定义的范围不支持这么大的值。可以尝试到数据库中修改下order类型看下。
参考sql:ALTER TABLE `zt_team` CHANGE `order` `order` smallint NOT NULL DEFAULT '0' AFTER `left`;
🌃
2024/09/25
可以了,谢谢。
联系我们
联系人
杨苗/高级客户经理
电话(微信)
13165050229
QQ号码
2692096539
联系邮箱
yangmiao@chandao.com
返回顶部
杨苗
高级客户经理
13165050229
2692096539
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。