歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 26, 2024, 07:31:49 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  紧急求助!!迁移lt1.0.3后出现无法评论和发文错误 Duplicate entry '' for.... « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 紧急求助!!迁移lt1.0.3后出现无法评论和发文错误 Duplicate entry '' for....  (閱讀 5530 次)
walteriii
初級會員
**
文章: 52


檢視個人資料
« 於: 三月 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');
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  紧急求助!!迁移lt1.0.3后出现无法评论和发文错误 Duplicate entry '' for.... « 上篇主題 下篇主題 »
    前往: