{"id":188,"date":"2013-06-06T11:22:59","date_gmt":"2013-06-06T03:22:59","guid":{"rendered":"http:\/\/www.uut8.com\/?p=188"},"modified":"2013-06-06T11:22:59","modified_gmt":"2013-06-06T03:22:59","slug":"discuz-x%e8%ae%ba%e5%9d%9b%e4%b8%8a%e4%bc%a0%e9%99%84%e4%bb%b6%e5%88%b0100%e8%87%aa%e5%8a%a8%e5%8f%96%e6%b6%88%e4%b8%8a%e4%bc%a0%e7%9a%84%e5%8e%9f%e5%9b%a0%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.uut8.com\/?p=188","title":{"rendered":"Discuz! X\u8bba\u575b\u4e0a\u4f20\u9644\u4ef6\u5230100%\u81ea\u52a8\u53d6\u6d88\u4e0a\u4f20\u7684\u539f\u56e0\u53ca\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<p>\u6700\u8fd1\u63a5\u5230\u4e00\u4e9b\u7ad9\u957f\u7684\u53cd\u9988\uff0c\u8bf4\u8bba\u575b\u4e0a\u4f20\u9644\u4ef6\uff0c\u5230100%\u7684\u65f6\u5019\u81ea\u5df1\u53d6\u6d88\u4e0a\u4f20\u4e86\u3002\u7ecf\u67e5\u662f\u9644\u4ef6\u7d22\u5f15\u8868pre_forum_attachment\u8868\u7684aid\u5b57\u6bb5\u81ea\u589e\u503c\u51fa\u73b0\u4e86\u95ee\u9898\uff0c\u5bfc\u81f4\u7a0b\u5e8f\u903b\u8f91\u8fd4\u56de\u7684aid\u503c\u5b9e\u9645\u4e3a\u4e00\u4e2aMySQL 1062 \u62a5\u9519\uff1a<br \/>\n\u6765\u81ea\u7f51\u9875\u7684\u6d88\u606f<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n&lt;!DOCTYPE html PUBLIC &#8220;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&#8221; &#8220;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&#8221;&gt;&lt;html&gt;&lt;head&gt; &lt;title&gt;10.144.49.99 &#8211; Database Error&lt;\/title&gt; &lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text\/html; charset=gbk&#8221; \/&gt; &lt;meta name=&#8221;ROBOTS&#8221; content=&#8221;NOINDEX,NOFOLLOW,NOARCHIVE&#8221; \/&gt; &lt;style type=&#8221;text\/css&#8221;&gt; &lt;!&#8211; body { background-color: white; color: black; font: 9pt\/11pt verdana, arial, sans-serif;} #container { width: 1024px; } #message { width: 1024px; color: black; } .red {color: red;} a:link { font: 9pt\/11pt verdana, arial, sans-serif; color: red; } a:visited { font: 9pt\/11pt verdana, arial, sans-serif; color: #4e4e4e; } h1 { color: #FF0000; font: 18pt &#8220;Verdana&#8221;; margin-bottom: 0.5em;} .bg1{ background-color: #FFFFCC;} .bg2{ background-color: #EEEEEE;} .table {background: #AAAAAA; font: 11pt Menlo,Consolas,&#8221;Lucida Console&#8221;} .info { background: none repeat scroll 0 0 #F3F3F3; border: 0px solid #aaaaaa; border-radius: 10px 10px 10px 10px; color: #000000; font-size: 11pt; line-height: 160%; margin-bottom: 1em; padding: 1em; } .help { background: #F3F3F3; border-radius: 10px 10px 10px 10px; font: 12px verdana, arial, sans-serif; text-align: center; line-height: 160%; padding: 1em; } .sql { background: none repeat scroll 0 0 #FFFFCC; border: 1px solid #aaaaaa; color: #000000; font: arial, sans-serif; font-size: 9pt; line-height: 160%; margin-top: 1em; padding: 4px; } &#8211;&gt; &lt;\/style&gt;&lt;\/head&gt;&lt;body&gt;&lt;div id=&#8221;container&#8221;&gt;&lt;h1&gt;Discuz! Database Error&lt;\/h1&gt;&lt;div class=&#8217;info&#8217;&gt;(1062) Duplicate entry &#8216;107697&#8217; for key 1&lt;div class=&#8221;sql&#8221;&gt;INSERT INTO forum_attachment SET `tid`=&#8217;0&#8242; , `pid`=&#8217;0&#8242; , `uid`=&#8217;1&#8242; , `tableid`=&#8217;127&#8242;&lt;\/div&gt;&lt;\/div&gt;&lt;div class=&#8221;info&#8221;&gt;&lt;p&gt;&lt;strong&gt;PHP Debug&lt;\/strong&gt;&lt;\/p&gt;&lt;table cellpadding=&#8221;5&#8243; cellspacing=&#8221;1&#8243; width=&#8221;100%&#8221; class=&#8221;table&#8221;&gt;&lt;tr class=&#8221;\u2026<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n\u786e\u5b9a<br \/>\n\u6211\u4eec\u770b\u5230\u5b9e\u9645\u4e0a\u662f\u4e00\u6bb5html\u4ee3\u7801\uff08\u5176\u5b9e\u5982\u679c\u7ad9\u957f\u5173\u6ce8\u540e\u53f0\u7684\u8fd0\u884c\u8bb0\u5f55\uff0c\u4e5f\u4f1a\u6709\u8fd9\u4e2a\u62a5\u9519\u7684\uff0c\u53ea\u4e0d\u8fc7\u6211\u662f\u5148\u6392\u67e5\u4ee3\u7801\uff0c\u624d\u53d1\u73b0\u7684\uff09\uff0c\u4e5f\u5c31\u662fDiscuz! X\u7684MySQL\u62a5\u9519\u4fe1\u606f\u9875\u9762\uff0c\u8fd9\u91cc\u6700\u91cd\u8981\u7684\u4fe1\u606f\u5c31\u662fMySQL\u7684\u62a5\u9519\u4e86\uff0cDiscuz! Database Erro (1062) Duplicate entry &#8216;107697&#8217; for key 1 INSERT INTO forum_attachment SET `tid`=&#8217;0&#8242; , `pid`=&#8217;0&#8242; , `uid`=&#8217;1&#8242; , `tableid`=&#8217;127&#8242; \u3002\u77e5\u9053\u4e86aid 1062 \u62a5\u9519\uff0c\u5373\u63d2\u5165\u4e86\u91cd\u590d\u7684\u503c\uff0c\u90a3\u4e48\u5c31\u597d\u529e\u4e86\uff0c\u53bbpre_forum_attachment \u4fee\u6539\u81ea\u589e\u503c\u5c31\u53ef\u4ee5\u4e86\uff0c\u81ea\u589e\u503c\u4fee\u6539\u6210\u4ec0\u4e48\u5462\uff0c\u5f53\u7136\u8981\u770b\u4e00\u4e0baid\u5f53\u524d\u7684\u6700\u5927\u503c\u591a\u5c11\uff0c\u7136\u540e\u52a01\u5c31\u662f\u8981\u4fee\u6539\u7684\u81ea\u589e\u503c\u4e86\u3002\u53ef\u4ee5\u5728MySQL\u547d\u4ee4\u884c\u6267\u884c\uff1aalter table pre_forum_attachment auto_increment = aid\u6700\u5927\u503c+1 \uff0c\u5982\u679c\u6709phpMyAdmin\u7684\u8bdd\uff0c\u66f4\u597d\u64cd\u4f5c\u4e86\u4e86\uff0c\u8fd9\u91cc\u5c31\u4e0d\u591a\u8bf4\u4e86\u3002\u81f3\u4e8e\u4e3a\u4ec0\u4e48\u81ea\u589e\u503c\u4f1a\u51fa\u95ee\u9898\uff0c\u8fd8\u6ca1\u8be6\u7ec6\u7814\u7a76\uff0c\u4e0d\u8fc7\u6536\u96c6\u7684\u51e0\u4e2a\u60c5\u51b5\u5305\u62ec\u91cd\u542f\u670d\u52a1\u5668\uff0c\u6570\u636e\u5e93\u8fc1\u79fb\u7b49\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u63a5\u5230\u4e00\u4e9b\u7ad9\u957f\u7684\u53cd\u9988\uff0c\u8bf4\u8bba\u575b\u4e0a\u4f20\u9644\u4ef6\uff0c\u5230100%\u7684\u65f6\u5019\u81ea\u5df1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-discuz"],"_links":{"self":[{"href":"https:\/\/www.uut8.com\/index.php?rest_route=\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uut8.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.uut8.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.uut8.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uut8.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=188"}],"version-history":[{"count":0,"href":"https:\/\/www.uut8.com\/index.php?rest_route=\/wp\/v2\/posts\/188\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.uut8.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uut8.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uut8.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}