逝水年华 发表于 2023-1-30 20:13:28

后台运行记录里面老是出现1062错误,请教一下如何解决

(1062) Duplicate entry '18133911-436052' for key 'PRIMARY'INSERT INTO forum_hotreply_member SET `tid`='8273477' , `pid`='18133911' , `uid`='436052' , `attitude`='1'

PHP:
forum.php#require(%s):0067
source/module/forum/forum_misc.php#discuz_table->discuz_table->insert():1809
source/class/discuz/discuz_table.php#discuz_database::discuz_database::insert():0081
source/class/discuz/discuz_database.php#discuz_database::discuz_database::query():0060
source/class/discuz/discuz_database.php#db_driver_mysqli->db_driver_mysqli->query():0142
source/class/db/db_driver_mysqli.php#db_driver_mysqli->db_driver_mysqli->halt():0148
source/class/db/db_driver_mysqli.php#break():0223
User: uid=43605; IP=112.95.210.17; RIP:183.134.17.20 Request: /forum.php?mod=misc&action=postreview&do=support&tid=827477&pid=1813911&hash=97b8cb2d&ajaxmenu=1&inajax=1&ajaxtarget=ajaxid_0.2399481829085348_menu_content



曾经把forum_hotreply_member这个表中的tid改成了int10,但还是会报错,请教一下了,版本为discuz x3.4,mysql是5.7.37,php是7.4


万分感谢。



苍岚 发表于 2023-2-18 20:33:10

请问你解决了吗?我也出现了
我是在处理后台举报的时候出现的
页: [1]
查看完整版本: 后台运行记录里面老是出现1062错误,请教一下如何解决

创宇盾启航版免费网站防御网站加速服务