Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: guspasho on December 30, 2006, 11:50:25 PM

Title: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all sigs
Post by: guspasho on December 30, 2006, 11:50:25 PM
As the title says, I tried to convert my phpbb 2.0.21 board to SMF 1.1.1 and I didn't get any errors, but when I look at the converted board, everyone's signature are now missing the first character. I used the phpBB2 converter from this page.

http://www.simplemachines.org/download/?converters

Any advice? Any other information needed?
Title: Re: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all sigs
Post by: guspasho on December 31, 2006, 12:53:50 AM
It appears this still works for me.

http://smf.person-lab.net/phpbb2_to_smf_2006_09_21-utf8.zip

http://www.simplemachines.org/community/index.php?topic=107868.msg738192#msg738192

Perhaps you might want to consider updating your converter? I don't know.
Title: Re: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all
Post by: Calymari on January 19, 2007, 09:33:17 AM
Hi, I had this same problem when I did this same conversion earlier this week (phpbb 2.0.21 -> SMF 1.1.1), using the script from the website.  I fixed it by making one minor change to the phpbb2_to_smf.sql file, line 122.

The original reads:
$row['signature'] = substr($row['signature'], 1, 65534);

I changed it to:
$row['signature'] = substr($row['signature'], 0, 65534);

Seems to be a bug in the conversion script, unless earlier versions of phpbb put an extra character in front there, or something...
Title: Re: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all sigs
Post by: margarett on January 19, 2007, 09:38:43 AM
Yes, this is a known problem, and that change in the code is also documented here ;)
Title: Re: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all
Post by: Calymari on January 19, 2007, 06:57:37 PM
Oh, sorry, I searched the site and the forums and didn't find anything specifically about this (besides this thread).
Title: Re: No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all sigs
Post by: JayBachatero on January 24, 2007, 11:46:45 AM
I also updated the script. phpBB 2.0.19+ (http://www.simplemachines.org/community/index.php?topic=142124)