News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

phpBB2 to SMF for 1.1RC2?

Started by windyweather, January 10, 2006, 04:59:58 PM

Previous topic - Next topic

windyweather

I'd like to move from phpBB2 2.0.18 to SMF 1.1RC2.
I tried the converter, and it looks like it brought across all the tables except the members table. There were a few errors, but mostly they were warnings about missing files - missing files from phpBB2 posts, I think.

The converter required a change to the matching version from 1.0.99 to 1.1.99 to get it to start.

I had a look at the code in the converter that converts member tables, and it looks like the fields line up. I don't see any field name changes that would blow it up.
There are about 20 members in the phpBB db and the resulting SMF members table is completely empty.

Anybody have a clue why this would be? Anybody also need this conversion to a new version of SMF?

Thanks much
ww

windyweather

#1
I think I've fixed the converter. There are two issues:

  • The version needs to be updated to match 1.1RC2 - not sure what the numeric equiv is, but 1.1.99 worked for me.

  • There are some field name changes. im_xxx changed to pm_xxx for a couple of private message related fields. This caused a silent failure in the insert operation to the database.
Might be nice if the IGNORE were removed and database write failures were signaled. This would indicate that there is a mismatch of the database field names or other issues. I'd make this change, only I'm not sure how to sense and report the error.

You can find the fix here: http://www.windyweather.net/wp/2006/01/10/fix-to-phpbb2-to-smf-converter/ [nofollow]

ww

windyweather

http://www.simplemachines.org/community/index.php?topic=38966.0

Sorry.... This is the new scheme to convert... I missed this until now.
I'll go off and test it...

ww

Advertisement: