Csuper Blog

Csuper Blog

DZ7.2数据转换dz!X正式版( 40 / 76 ) polloptions.php出错
2010-09-02

正在执行转换程序( 40 / 76 ) polloptions.php,转换过程中需要多次跳转,请勿关闭浏览器。

MySQL Error
Message: query_error
SQL: INSERT INTO `dzsafe`.pre_forum_polloption SET `polloptionid`='31',`tid`='3812',`votes`='1',`displayorder`='0',`polloption`='不懂',`voterids`='4880 '
Error: Duplicate entry '31' for key 1
Errno.: 1062
Click here to seek help.

PHP Backtrace
File Line Class Type Function
include\db.class.php 102  db_mysql -> halt
source\d7.2_x1.0\table\polloptions.php 31  db_mysql -> query
include\do_convert.inc.php 54    require
index.php 36    require
 

 

 

解决方法:把source\d7.2_x1.0\table\polloptions.php 文件中31行的INSERT改成REPLACE,刷新升级页面试一下

发表评论: