News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

invision2 (2.1.5) to smf (1.1.1)

Started by mrdeath, January 07, 2007, 05:54:23 AM

Previous topic - Next topic

mrdeath

SMF Version: SMF 1.1.1
I'm trying to convert Invision Power Board v2.1.5 to SMF 1.1.1, at first I have problems with polls, but I solved that (by removing the polls from the ipb topics ;) ) but now I'm stuck at this error..

Converting...
Converting members... Successful.
Converting categories... Successful.
Converting boards... Successful.
Converting topics... Successful.
Converting posts (this may take some time)... Successful.
Converting polls... Successful.
Converting poll options... Successful.
Converting poll logs... Successful.
Converting personal messages (step 1)... Successful.
Converting personal messages (step 2)... Successful.
Converting topic notifications... Successful.
Converting board notifications... Successful.
Converting moderators... Successful.
Converting yearly events... Successful.
Converting permissions... Successful.
Converting board permissions...
Notice: unserialize(): Error at offset 5 of 195 bytes in /home/xxxxxxxxx/www/smf/Sources/convert.php(655) : eval()'d code on line 89

Fatal error: Unsupported operand types in /home/xxxxxxxxxx/www/smf/Sources/convert.php(655) : eval()'d code on line 89


Do any one know what to do? I love to move from ipb and into smf, but I don't like to restart the forum :(

mrdeath

Quote from: Oldiesmann on October 06, 2006, 01:02:42 PM
invision2_to_smf.sql

Find
$row += unserialize($row['permission_array']);
$row = addslashes_recursive($row);


Replace
$row += unserialize(stripslashes($row['permission_array']));
$row = addslashes_recursive($row);


Sorry, did a deeper search and found the solution.. still the problem with the passwords but that's doable (can live with)..   

Sarke

Quote from: mrdeath on January 07, 2007, 05:54:23 AM
I'm trying to convert Invision Power Board v2.1.5 to SMF 1.1.1, at first I have problems with polls, but I solved that (by removing the polls from the ipb topics ;) )

I had the same problem I think, converting the poll choices.  If it's the same problem what I did should fix it (so you don't have to delete them).  See this post:

http://www.simplemachines.org/community/index.php?topic=140134.msg894749#msg894749

My MODs          Please don't PM me for support, post in the appropriate topic.

Advertisement: