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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

Discuz!6.0到 Discuz!X2 升级图文教程

  [复制链接]
 楼主| vinsonwang 发表于 2011-6-10 11:19:22 | 显示全部楼层
泡泡小新 发表于 2011-6-9 18:25
MySQL Error
Message: query_error
SQL: SELECT a.*,af.description FROM `tqlmbbs`.cdb_attachments a L ...

出现此错误的,按照这个方法处理;
找到\convert\source\d6.0_x2.0\table\treadsattachments.php文件,大概第35行,把
$query = $db_source->query("SELECT a.*,af.description FROM $table_source a
                                LEFT JOIN $table_source_field af USING(aid) WHERE a.aid>'$start'
                                ORDER BY a.aid LIMIT $limit");
复制代码
改为
$query = $db_source->query("SELECT * FROM $table_source WHERE aid>'$start' LIMIT $limit");
复制代码
继续执行升级程序。
回复

使用道具 举报

hdl2097 发表于 2011-6-11 15:48:42 | 显示全部楼层
证书我 现在需要的。
回复

使用道具 举报

inetbird 发表于 2011-6-13 17:06:49 | 显示全部楼层
转换过程出现如下错误提示,请版主帮忙看一看,如何解决?谢谢。

MySQL Error
Message: query_error
SQL: SELECT * FROM `my60380`.60380_access LIMIT 0, 2000
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.60380_access LIMIT 0, 2000' at line 1
Errno.: 1064
Click here to seek help.

PHP Backtrace

File                                                Line            Class    Type Function

include/db.class.php                         102       db_mysql-> halt
source/d6.0_x2.0/table/access.php      17       db_mysql-> query
include/do_convert.inc.php                 54                        require
index.php                                         36                        require
回复

使用道具 举报

 楼主| vinsonwang 发表于 2011-6-13 17:20:41 | 显示全部楼层
本帖最后由 vinsonwang 于 2011-6-13 17:21 编辑

你这个原表前缀都以数字开头了,改下吧。
回复

使用道具 举报

inetbird 发表于 2011-6-14 20:32:01 | 显示全部楼层
谢谢。修改了前缀,可以进行转换了。但我的 Discuz6.0 并没有安装ucenter,而DX2 全新安装包括了Ucenter,所以在转换到第4步时出现下面的错误。未完成的转换程序 56、57、58、59是否都是针对 UCenter的?是否可以不管错误,认为完成转换,还是该怎么处理?

谢谢版主的耐心指导。

升级开始时间:2011-06-14 20:24:30, 升级程序已经执行了 0天 0小时 1分 51秒

目前正在执行转换程序( 56 / 59 ) avatar.php,转换过程中需要多次跳转,请勿关闭浏览器。

如果程序中断或者需要重新开始当前程序,请点击 (重新开始)


UCenter 路径不存在,请修改本工具设置正确

回复

使用道具 举报

inetbird 发表于 2011-6-14 21:39:37 | 显示全部楼层
35楼的问题已解决。谢谢。
回复

使用道具 举报

chanyip 发表于 2011-6-15 23:31:27 | 显示全部楼层
36樓的兄弟,能說一下怎麼解決的嗎?
是不是另外裝一個ucenter?
回复

使用道具 举报

hanq168 发表于 2011-6-16 16:35:02 | 显示全部楼层
求解,转换时出错啊!


技巧提示

    升级开始时间:2011-06-16 16:32:29, 升级程序已经执行了 0天 0小时 0分 18秒

    目前正在执行转换程序( 26 / 59 ) members.php,转换过程中需要多次跳转,请勿关闭浏览器。

    如果程序中断或者需要重新开始当前程序,请点击 (重新开始)

MySQL Error
Message: query_error
SQL: TRUNCATE `ultrax`.pre_ucenter_members
Error: Table 'ultrax.pre_ucenter_members' doesn't exist
Errno.: 1146
Click here to seek help.

PHP Backtrace
File         Line         Class         Type         Function
include\db.class.php         102         db_mysql         ->         halt
source\d6.0_x2.0\table\members.php         26         db_mysql         ->         query
include\do_convert.inc.php         54                         require
index.php         36                         require
回复

使用道具 举报

 楼主| vinsonwang 发表于 2011-6-16 17:26:23 | 显示全部楼层
你数据库中有pre_ucenter_members么?
回复

使用道具 举报

hanq168 发表于 2011-6-17 10:29:48 | 显示全部楼层
我的ucenter是独立安装的,ucenter数据库中没有pre_ucenter_members表,在我的ucenter库中members表是uc_members。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-17 05:38 , Processed in 0.098141 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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