Discuz! Database Error

(1062) Duplicate entry '507821' for key 'PRIMARY'
INSERT INTO 360_test_log SET `type`='cj_sanwen_info' , `content`='03 : 34.204.187.106' , `memo`='<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html>\r\n<head>\r\n <title>www.510214.com - Database Error</title>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n <meta name=\"ROBOTS\" content=\"NOINDEX,NOFOLLOW,NOARCHIVE\" />\r\n <style type=\"text/css\">\r\n <!--\r\n body { background-color: white; color: black; font: 9pt/11pt verdana, arial, sans-serif;}\r\n #container { width: 1024px; }\r\n #message { width: 1024px; color: black; }\r\n\r\n .red {color: red;}\r\n a:link { font: 9pt/11pt verdana, arial, sans-serif; color: red; }\r\n a:visited { font: 9pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }\r\n h1 { color: #FF0000; font: 18pt \"Verdana\"; margin-bottom: 0.5em;}\r\n .bg1{ background-color: #FFFFCC;}\r\n .bg2{ background-color: #EEEEEE;}\r\n .table {background: #AAAAAA; font: 11pt Menlo,Consolas,\"Lucida Console\"}\r\n .info {\r\n background: none repeat scroll 0 0 #F3F3F3;\r\n border: 0px solid #aaaaaa;\r\n border-radius: 10px 10px 10px 10px;\r\n color: #000000;\r\n font-size: 11pt;\r\n line-height: 160%;\r\n margin-bottom: 1em;\r\n padding: 1em;\r\n }\r\n\r\n .help {\r\n background: #F3F3F3;\r\n border-radius: 10px 10px 10px 10px;\r\n font: 12px verdana, arial, sans-serif;\r\n text-align: center;\r\n line-height: 160%;\r\n padding: 1em;\r\n }\r\n\r\n .sql {\r\n background: none repeat scroll 0 0 #FFFFCC;\r\n border: 1px solid #aaaaaa;\r\n color: #000000;\r\n font: arial, sans-serif;\r\n font-size: 9pt;\r\n line-height: 160%;\r\n margin-top: 1em;\r\n padding: 4px;\r\n }\r\n -->\r\n </style>\r\n</head>\r\n<body>\r\n<div id=\"container\">\r\n<h1>Discuz! Database Error</h1>\r\n<div class=\'info\'>(1062) Duplicate entry \'507821\' for key \'PRIMARY\'<div class=\"sql\">INSERT INTO 360_test_log SET `type`=\'cj_bbshot\' , `content`=\'03 : 101.132.169.124\' , `memo`=\'&lt;!DOCTYPE html PUBLIC \\&quot;-//W3C//DTD XHTML 1.0 Transitional//EN\\&quot; \\&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\&quot;&gt;\\r\\n&lt;html&gt;\\r\\n&lt;head&gt;\\r\\n &lt;title&gt;www.510214.com - Database Error&lt;/title&gt;\\r\\n &lt;meta http-equiv=\\&quot;Content-Type\\&quot; content=\\&quot;text/html; charset=utf-8\\&quot; /&gt;\\r\\n &lt;meta name=\\&quot;ROBOTS\\&quot; content=\\&quot;NOINDEX,NOFOLLOW,NOARCHIVE\\&quot; /&gt;\\r\\n &lt;style type=\\&quot;text/css\\&quot;&gt;\\r\\n &lt;!--\\r\\n body { background-color: white; color: black; font: 9pt/11pt verdana, arial, sans-serif;}\\r\\n #container { width: 1024px; }\\r\\n #message { width: 1024px; color: black; }\\r\\n\\r\\n .red {color: red;}\\r\\n a:link { font: 9pt/11pt verdana, arial, sans-serif; color: red; }\\r\\n a:visited { font: 9pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }\\r\\n h1 { color: #FF0000; font: 18pt \\&quot;Verdana\\&quot;; margin-bottom: 0.5em;}\\r\\n .bg1{ background-color: #FFFFCC;}\\r\\n .bg2{ background-color: #EEEEEE;}\\r\\n .table {background: #AAAAAA; font: 11pt Menlo,Consolas,\\&quot;Lucida Console\\&quot;}\\r\\n .info {\\r\\n background: none repeat scroll 0 0 #F3F3F3;\\r\\n border: 0px solid #aaaaaa;\\r\\n border-radius: 10px 10px 10px 10px;\\r\\n color: #000000;\\r\\n font-size: 11pt;\\r\\n line-height: 160%;\\r\\n margin-bottom: 1em;\\r\\n padding: 1em;\\r\\n }\\r\\n\\r\\n .help {\\r\\n background: #F3F3F3;\\r\\n border-radius: 10px 10px 10px 10px;\\r\\n font: 12px verdana, arial, sans-serif;\\r\\n text-align: center;\\r\\n line-height: 160%;\\r\\n padding: 1em;\\r\\n }\\r\\n\\r\\n .sql {\\r\\n background: none repeat scroll 0 0 #FFFFCC;\\r\\n border: 1px solid #aaaaaa;\\r\\n color: #000000;\\r\\n font: arial, sans-serif;\\r\\n font-size: 9pt;\\r\\n line-height: 160%;\\r\\n margin-top: 1em;\\r\\n padding: 4px;\\r\\n }\\r\\n --&gt;\\r\\n &lt;/style&gt;\\r\\n&lt;/head&gt;\\r\\n&lt;body&gt;\\r\\n&lt;div id=\\&quot;container\\&quot;&gt;\\r\\n&lt;h1&gt;Discuz! Database Error&lt;/h1&gt;\\r\\n&lt;div class=\\\'info\\\'&gt;(1062) Duplicate entry \\\'507821\\\' for key \\\'PRIMARY\\\'&lt;div class=\\&quot;sql\\&quot;&gt;INSERT INTO 360_test_log SET `type`=\\\'cj_article_news\\\' , `content`=\\\'03 : 101.132.169.124\\\' , `memo`=\\\' ok.\\\' , `add_time`=\\\'2020-07-09 16:03:41\\\'&lt;/div&gt;&lt;/div&gt;\\r\\n\\r\\n&lt;div class=\\&quot;info\\&quot;&gt;&lt;p&gt;&lt;strong&gt;PHP Debug&lt;/strong&gt;&lt;/p&gt;&lt;table cellpadding=\\&quot;5\\&quot; cellspacing=\\&quot;1\\&quot; width=\\&quot;100%\\&quot; class=\\&quot;table\\&quot;&gt;&lt;tr class=\\&quot;bg2\\&quot;&gt;&lt;td&gt;No.&lt;/td&gt;&lt;td&gt;File&lt;/td&gt;&lt;td&gt;Line&lt;/td&gt;&lt;td&gt;Code&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;cron_custom.php&lt;/td&gt;&lt;td&gt;12&lt;/td&gt;&lt;td&gt;discuz_application-&gt;init()&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;source/class/discuz/discuz_application.php&lt;/td&gt;&lt;td&gt;70&lt;/td&gt;&lt;td&gt;discuz_application-&gt;_init_cron()&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;source/class/discuz/discuz_application.php&lt;/td&gt;&lt;td&gt;550&lt;/td&gt;&lt;td&gt;discuz_cron::run()&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;source/class/discuz/discuz_cron.php&lt;/td&gt;&lt;td&gt;48&lt;/td&gt;&lt;td&gt;include(%s)&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;source/include/cron/cron_custom_cj_baidu_news.php&lt;/td&gt;&lt;td&gt;29&lt;/td&gt;&lt;td&gt;discuz_database::insert(%s, Array)&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;source/class/discuz/discuz_database.php&lt;/td&gt;&lt;td&gt;60&lt;/td&gt;&lt;td&gt;discuz_database::query(%s, %s, %s, true)&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;source/class/discuz/discuz_database.php&lt;/td&gt;&lt;td&gt;137&lt;/td&gt;&lt;td&gt;db_driver_mysqli-&gt;query(%s, %s, true)&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;source/class/db/db_driver_mysqli.php&lt;/td&gt;&lt;td&gt;147&lt;/td&gt;&lt;td&gt;db_driver_mysqli-&gt;halt(%s, %d, %s)&lt;/td&gt;&lt;/tr&gt;&lt;tr class=\\&quot;bg1\\&quot;&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;source/class/db/db_driver_mysqli.php&lt;/td&gt;&lt;td&gt;222&lt;/td&gt;&lt;td&gt;break()&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=\\&quot;help\\&quot;&gt;&lt;a href=\\&quot;http://www.510214.com\\&quot;&gt;www.510214.com&lt;/a&gt; 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. &lt;/div&gt;\\r\\n&lt;/div&gt;\\r\\n&lt;/body&gt;\\r\\n&lt;/html&gt;\' , `add_time`=\'2020-07-09 16:03:39\'</div></div>\r\n\r\n<div class=\"info\"><p><strong>PHP Debug</strong></p><table cellpadding=\"5\" cellspacing=\"1\" width=\"100%\" class=\"table\"><tr class=\"bg2\"><td>No.</td><td>File</td><td>Line</td><td>Code</td></tr><tr class=\"bg1\"><td>1</td><td>cron_custom.php</td><td>12</td><td>discuz_application->init()</td></tr><tr class=\"bg1\"><td>2</td><td>source/class/discuz/discuz_application.php</td><td>70</td><td>discuz_application->_init_cron()</td></tr><tr class=\"bg1\"><td>3</td><td>source/class/discuz/discuz_application.php</td><td>550</td><td>discuz_cron::run()</td></tr><tr class=\"bg1\"><td>4</td><td>source/class/discuz/discuz_cron.php</td><td>48</td><td>include(%s)</td></tr><tr class=\"bg1\"><td>5</td><td>source/include/cron/cron_custom_bbshot.php</td><td>29</td><td>discuz_database::insert(%s, Array)</td></tr><tr class=\"bg1\"><td>6</td><td>source/class/discuz/discuz_database.php</td><td>60</td><td>discuz_database::query(%s, %s, %s, true)</td></tr><tr class=\"bg1\"><td>7</td><td>source/class/discuz/discuz_database.php</td><td>137</td><td>db_driver_mysqli->query(%s, %s, true)</td></tr><tr class=\"bg1\"><td>8</td><td>source/class/db/db_driver_mysqli.php</td><td>147</td><td>db_driver_mysqli->halt(%s, %d, %s)</td></tr><tr class=\"bg1\"><td>9</td><td>source/class/db/db_driver_mysqli.php</td><td>222</td><td>break()</td></tr></table></div><div class=\"help\"><a href=\"http://www.510214.com\">www.510214.com</a> 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. </div>\r\n</div>\r\n</body>\r\n</html>' , `add_time`='2020-07-09 16:03:37'

PHP Debug

No.FileLineCode
1forum.php57discuz_application->init()
2source/class/discuz/discuz_application.php70discuz_application->_init_cron()
3source/class/discuz/discuz_application.php550discuz_cron::run()
4source/class/discuz/discuz_cron.php48include(%s)
5source/include/cron/cron_custom_cjsanwen.php25discuz_database::insert(%s, Array)
6source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, true)
7source/class/discuz/discuz_database.php137db_driver_mysqli->query(%s, %s, true)
8source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt(%s, %d, %s)
9source/class/db/db_driver_mysqli.php222break()
blesswe.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.