MyBB Community Forums
[F] Merge oddities - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.2 Series (https://community.mybb.com/forum-3.html)
+------ Forum: Merge System for MyBB 1.2 (https://community.mybb.com/forum-75.html)
+------- Forum: Bug Reports (https://community.mybb.com/forum-77.html)
+-------- Forum: Fixed Bugs (https://community.mybb.com/forum-78.html)
+-------- Thread: [F] Merge oddities (/thread-26773.html)



[F] Merge oddities - nelgin - 2007-12-23

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


RE: Merge oddities - nelgin - 2007-12-23

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.


RE: Merge oddities - Ryan Gordon - 2007-12-23

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


RE: Merge oddities - nelgin - 2007-12-23

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


RE: [F] Merge oddities - Ryan Gordon - 2008-02-03

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.