泡泡小新 发表于 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");
复制代码
继续执行升级程序。
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.
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