禅道使用
596618添加用户时报错已解决
添加用户时报错已解决
悬赏5积分
提问者李飞答案数1阅读数530发表时间2023-07-27 00:16:38
添加用户时报如下错误,请问怎么解决?
ERROR: SQLSTATE[22003]: Numeric value out of range: 167 Out of range value for column 'id' at row 1 <p>The sql is: INSERT INTO `zt_user` SET `type` = 'inside',`company` = '0',`dept` = '0',`account` = 'ceshi',`visions` = 'rnd',`realname` = 'ceshi',`join` = '2023-07-27',`role` = '',`email` = '',`commiter` = '',`gender` = 'm',`password` = '47b8b781e12201826cfea1039c6b8452'</p> in lib/base/dao/dao.class.php on line 1412, last called by lib/base/dao/dao.class.php on line 792 through function sqlError.
in framework/base/router.class.php on line 2797 when visiting user-create-0
parsererrorSyntaxError: Unexpected token '<', "
ERROR: SQLSTATE[22003]: Numeric value out of range: 167 Out of range value for column 'id' at row 1 <p>The sql is: INSERT INTO `zt_user` SET `type` = 'inside',`company` = '0',`dept` = '0',`account` = 'ceshi',`visions` = 'rnd',`realname` = 'ceshi',`join` = '2023-07-27',`role` = '',`email` = '',`commiter` = '',`gender` = 'm',`password` = '47b8b781e12201826cfea1039c6b8452'</p> in lib/base/dao/dao.class.php on line 1412, last called by lib/base/dao/dao.class.php on line 792 through function sqlError.
in framework/base/router.class.php on line 2797 when visiting user-create-0
parsererrorSyntaxError: Unexpected token '<', "
禅道版本:禅道开源版 18.5
安装包类型:Linux安装包
操作系统:CentOS
客户端浏览器:Chrome
答案列表
禅道-阿龙2023-07-27 15:32:56 可以检查下数据库中zt_user表id的最大值是多少,如果最大值没有满足字段类型的最大值,可以执行sql 修改自增列的取值,重新操作试试 ALTER TABLE id AUTO_INCREMENT = xxx(目前最大的id+1); 禅道-阿龙2023/07/31 |
联系我们
联系人
魏中显/高级客户经理
电话(微信)
18561939726
QQ号码
1746749398
联系邮箱
weizhongxian@chandao.com

其他相关问答
提问者: ximengqiangwei 于 2016-11-243498次浏览,1个答案
提问者: zentaonari 于 2011-05-093134次浏览,1个答案
提问者: lunzi028 于 2014-09-195336次浏览,2个答案
提问者: jw123456 于 2020-04-011912次浏览,1个答案
提问者: lpwsxz 于 2014-03-173696次浏览,1个答案



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


