2014-03-04, 06:47 PM
I've run into a number of problems converting a forum from phpBB3 to mybb. Most of them I've been able to fix one way or another, e.g., a perl script when the membership for groups doesn't migrate.
However, this one has me stumped. When I run the merge, I end up with no passwords for the users. I have the loginconvert.php file in ../inc/plugins and I am doing the merge to a clean install, before I add any plugins, my custom code, or any other changes to MyBB.
I don’t really want to reset all the users to a generic password and have them change it on first login, but I’d like to get this thing done.
Looking at the debug log, I can see two arrays for each user, what looks like the data from phpBB3 ($data:array) and what looks like it might be the data that is going to be loaded into MyBB, ($insert_array: array). In the first I see a variable named password and in the second I see a variable named loginkey. There is data in both, e.g. for one of my users I see the following:
'user_password' => '$H$9LInCYHp2cAWKlVWbKQzJFxcaRecoX.',
'loginkey' => 'AssDeJJdQlVTfOnPrewJFKNSjVH5rk44WVauLTA4j9j5vrpxPH',
Updating that user’s record in MyBB with either of those values for the password doesn’t work to log the user in.
Anyone have any suggestions as to what might be going on.
However, this one has me stumped. When I run the merge, I end up with no passwords for the users. I have the loginconvert.php file in ../inc/plugins and I am doing the merge to a clean install, before I add any plugins, my custom code, or any other changes to MyBB.
I don’t really want to reset all the users to a generic password and have them change it on first login, but I’d like to get this thing done.
Looking at the debug log, I can see two arrays for each user, what looks like the data from phpBB3 ($data:array) and what looks like it might be the data that is going to be loaded into MyBB, ($insert_array: array). In the first I see a variable named password and in the second I see a variable named loginkey. There is data in both, e.g. for one of my users I see the following:
'user_password' => '$H$9LInCYHp2cAWKlVWbKQzJFxcaRecoX.',
'loginkey' => 'AssDeJJdQlVTfOnPrewJFKNSjVH5rk44WVauLTA4j9j5vrpxPH',
Updating that user’s record in MyBB with either of those values for the password doesn’t work to log the user in.
Anyone have any suggestions as to what might be going on.