Rick
Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
Blah, I found it. Sorry Gizmo, I thought this was going to be an easy change on the groups, so I didn't test it. This *should* be the last change you need to make
Lines 511 and 512 make reference to $sti. If you change both of those to $sti2, that'll fix it.
Gizmo
Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Odd, after updating those two lines I'm getting: Checking... Unable to query from the phpbb_Users table, it doesn't appear your import database settings are correct.
Rick
Registered: 06/04/06
Posts: 7993
Loc: Aberdeen, WA
Hmm, did you fill in your phpbb prefix correctly?
Honestly, I'm stumped. Basically, that error is like 300 lines away from the code you changed.
Code:
$query = "show tables like '{$dbprefix}users%'";
$sth = mysql_query($query,$dbhimport);
list($check) = mysql_fetch_array($sth);
if (!$check) {
echo "Unable to query from the {$dbprefix}Users table, it doesn't appear your import database settings are correct.";
exit;
}
It just checks to see if the users table exists, so if you have your prefix at phpbb_ I can't see why it would fail.
Gizmo
Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Just updated to latest importer to run things through and i've noticed that where it seems to populate everythig properly (didn't check all yet) it ignores my current phpbb2 usergroups and doesnt' import them...