MyBB Community Forums

Full Version: [F] Merge oddities
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you can see from the screen capture, the system appears to be merging users that it has just inserted into mybb from phpbb. I don't think this should be happening...in fact, I know it shouldn't. I can see how, maybe, you're making the uid's contiguous but it's still dropping users somewhere.

Thanks,
Nigel
Ah, your fix fixed it...but the permissions are broken.

MySQL error: 1146
Table 'phpBB_britnet_fm.PUNBB_TABLE_PREFIXauth_access' doesn't exist
Query: SELECT * FROM PUNBB_TABLE_PREFIXauth_access LIMIT 0, 100

Looks like a typo to me Wink Dunno how youget PUNBB from PHPBB lol.
nelgin Wrote:Ah, your fix fixed it...but the permissions are broken.

MySQL error: 1146
Table 'phpBB_britnet_fm.PUNBB_TABLE_PREFIXauth_access' doesn't exist
Query: SELECT * FROM PUNBB_TABLE_PREFIXauth_access LIMIT 0, 100

Looks like a typo to me Wink Dunno how youget PUNBB from PHPBB lol.

doh. Updated the file.

Also, I don't think you were running the updated file when you posted this
Tikitiki Wrote:
nelgin Wrote:Ah, your fix fixed it...but the permissions are broken.

MySQL error: 1146
Table 'phpBB_britnet_fm.PUNBB_TABLE_PREFIXauth_access' doesn't exist
Query: SELECT * FROM PUNBB_TABLE_PREFIXauth_access LIMIT 0, 100

Looks like a typo to me Wink Dunno how youget PUNBB from PHPBB lol.

doh. Updated the file.

Also, I don't think you were running the updated file when you posted this

I must have been because if I run a diff on the old one and the new one there's a lot of changes. Also, I wouldn't have got the error if I was using the old one Wink

43a44,45
> "import_forumperms" => array("n
ame" => "Import phpBB 2 Forum Permissions",
> "depen
dencies" => "db_configuration,import_forums"),
415c417
< $query = $db->simple_select(TABLE_PREFIX."users", "COUNT
(*) as totalusers");
---
> $query = $db->simple_select(TABLE_PREFIX."users", "COUNT
(uid) as totalusers");
419,425c421
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.