No errors converting phpbb2 to SMF 1.1.1 but first char is missing from all sigs

Started by guspasho, December 30, 2006, 11:50:25 PM

Previous topic - Next topic

guspasho

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?


Calymari

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...

margarett

Yes, this is a known problem, and that change in the code is also documented here ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Calymari

Oh, sorry, I searched the site and the forums and didn't find anything specifically about this (besides this thread).

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: