主題: 紧急求助!!迁移lt1.0.3后出现无法评论和发文错误 Duplicate entry '' for.... 作者: walteriii 於 三月 31, 2006, 03:10:46 下午 http://www.nklog.org/
换了一家主机服务商,数据库从原先的 5.0.18 -> 4.0.25 后者暂时未支持 mbstring 将sql文件导入的时候并未发现错误,进入后台也没问题,只是后来发现不能发表 文章和评论,到tmp目录里面查看错误发现问题但不知是何原因引起。 请各位前辈指点,非常焦急~~~~ :'( 以下是错误信息 :-| 31-03-2006 12:43:25 ERROR - The following query = INSERT INTO lt_articles_comments (article_id,topic,text,user_name,user_email, user_url,parent_id,client_ip,status,date,normalized_text,normalized_topic) VALUES (503,'我顶','<p>re</p> ','niceidea','','',0, '60.28.145.120', 0,20060331124325,'re', '我顶'); generated the following error message = Duplicate entry '0' for key 1 31-03-2006 12:44:17 ERROR - The following query = INSERT INTO lt_articles_comments (article_id,topic,text,user_name,user_email, user_url,parent_id,client_ip,status,date,normalized_text,normalized_topic) VALUES (503,'我顶','<p>re</p> ','niceidea','','',0, '60.28.145.120', 0,20060331124417,'re', '我顶'); generated the following error message = Duplicate entry '0' for key 1 31-03-2006 12:53:30 ERROR - The following query = INSERT INTO lt_articles( user_id,blog_id,status,date,properties, slug ) VALUES ( 132,130,'1','20060331125330','a:1:{s:16:"comments_enabled";s:1:"1";}','aaa'); generated the following error message = Duplicate entry '0' for key 1 31-03-2006 12:56:56 ERROR - The following query = INSERT INTO lt_articles_comments (article_id,topic,text,user_name,user_email, user_url,parent_id,client_ip,status,date,normalized_text,normalized_topic) VALUES (973,'','<p>我是第四类...不喜欢做测试,看这么多题需要好大耐心@_@</p> ','mk','','',0, '60.28.145.117', 0,20060331125656,'我是第四类...不喜欢做测试,看这么多题需要好大耐心@_@', ''); generated the following error message = Duplicate entry '0' for key 1 31-03-2006 13:36:17 ERROR - The following query = INSERT INTO lt_articles_comments (article_id,topic,text,user_name,user_email, user_url,parent_id,client_ip,status,date,normalized_text,normalized_topic) VALUES (973,'','<p>我是第四类...不喜欢做测试,看这么多题需要好大耐心@_@</p> ','mk','','',0, '60.28.145.117', 0,20060331133617,'我是第四类...不喜欢做测试,看这么多题需要好大耐心@_@', ''); generated the following error message = Duplicate entry '0' for key 1 31-03-2006 14:29:20 ERROR - The following query = INSERT INTO lt_referers (url,article_id,blog_id) VALUES ('http://nklog.org','0','62'); |