MyBB Community Forums

Full Version: [F] IPB 2.3.6 Test Conversion(Merge)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded the current merge system SVN snapshot and ran a test conversion from IPB 2.3.6 this evening. So far, everything has gone according to plan except for one error. When attempting to convert posts, I experienced a MYSQL error that a column that was being referenced in the IPB attachments table was invalid. I found and corrected the code in ipb2.php and all was well. Below is the change.

Changed:
$query2 = $this->old_db->simple_select("attachments", "COUNT(*) as attach_count", "attach_pid IN ($pids)");

To
$query2 = $this->old_db->simple_select("attachments", "COUNT(*) as attach_count", "attach_id IN ($pids)");
Hi, do you have a attach_rel_id column in that table? Did you select 2.4 from the version drop instead of 2.3?
This bug has been fixed in the latest version of the MyBB Merge System.

Please note the latest code is not live on the site or for download. An update for the MyBB Merge System will be released which contains this fix.

With regards,
The MyBB Group