联系官方销售客服
1835022288
028-61286886
我删除文章时提示系统错误
Duplicate entry '0' for key 'PRIMARY'
#SQL:INSERT INTO `dr_1_news_recycle` (`uid`, `cid`, `catid`, `content`, `result`, `inputtime`) VALUES (1, 27, 9, '{"1_news":{"id":"27","catid":"9","title":"1212","thumb":"","keywords":"","description":"1212","hits":"3","uid":"4","author":"507","status":"9","url":"\/index.php?c=show&id=27","link_id":"0","tableid":"0","inputip":"42.49.130.217","inputtime":"1605255784","updatetime":"1605255784","displayorder":"0","cxpq_total":"0","tet_total":"0","comments":"0","avgsort":"0.00"},"1_news_data_0":{"id":"27","uid":"4","catid":"9","content":"<p>1212<\/p>"},"1_news_category_data":null}', '', 1605518177)
#URL:http://localhost/admin.php?s=news&c=home&m=del&is_ajax=1
#REFERER:http://localhost/admin.php?s=news&c=home&m=index
请问能看出来是哪里错误了啊?
http://localhost/admin.php?s=news&c=home&m=del&is_ajax=1
ERROR - 2020-11-16 17:16:17 --> Duplicate entry '0' for key 'PRIMARY'
#SQL:INSERT INTO `dr_1_news_recycle` (`uid`, `cid`, `catid`, `content`, `result`, `inputtime`) VALUES (1, 27, 9, '{"1_news":{"id":"27","catid":"9","title":"1212","thumb":"","keywords":"","description":"1212","hits":"3","uid":"4","author":"507","status":"9","url":"\/index.php?c=show&id=27","link_id":"0","tableid":"0","inputip":"42.49.130.217","inputtime":"1605255784","updatetime":"1605255784","displayorder":"0","cxpq_total":"0","tet_total":"0","comments":"0","avgsort":"0.00"},"1_news_data_0":{"id":"27","uid":"4","catid":"9","content":"<p>1212<\/p>"},"1_news_category_data":null}', '', 1605518177)
#URL:http://localhost/admin.php?s=news&c=home&m=del&is_ajax=1
#REFERER:http://localhost/admin.php?s=news&c=home&m=index