Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 转换时出这个错误。。

[复制链接]
C.c 发表于 2010-10-17 16:37:48 | 显示全部楼层 |阅读模式
MySQL Error
Message
: query_error
SQL: INSERT INTO `discuzx`.pre_common_member_count SET `uid`='329376'
Error: Duplicate entry '329376' for key 1
Errno.: 1062
Click here to seek help.

PHP Backtrace
FileLineClassTypeFunction
include\db.class.php102 db_mysql->halt
source\d7.2_x1.5\table\members.php45 db_mysql->query
include\do_convert.inc.php54 require
index.php36 require


拒绝 发表于 2010-10-17 19:26:14 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| C.c 发表于 2010-10-17 20:31:54 | 显示全部楼层
本帖最后由 C.c 于 2010-10-17 20:40 编辑

删了 在转换的时候又出别的,删了30多个,还是不行

MySQL Error
Message
: query_error
SQL: INSERT INTO `discuzx`.pre_common_member SET `uid`='329927',`username`='',`password`='40a1bf2cca183dc6bee55cdb47641f0a',`adminid`='0',`groupid`='26',`groupexpiry`='0',`extgroupids`='',`regdate`='1283750375',`credits`='0',`email`='vcanchou@163.com',`timeoffset`='9999',`accessmasks`='0',`notifysound`='1'
Error: Duplicate entry '' for key 2
Errno.: 1062
Click here to seek help.

PHP Backtrace
FileLineClassTypeFunction
include\db.class.php102 db_mysql->halt
source\d7.2_x1.5\table\members.php152 db_mysql->query
include\do_convert.inc.php54 require
index.php36 require


回复

使用道具 举报

 楼主| C.c 发表于 2010-10-17 22:59:47 | 显示全部楼层
自己解决了找到:source\d7.2_x1.5\table\members.php
把INSERT INTO改成REPLACE INTO
回复

使用道具 举报

beijing200808 发表于 2010-10-18 10:04:36 | 显示全部楼层
楼主是在升级的呃时候出现的这个问题吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-2 18:26 , Processed in 0.121341 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表