Simple Machines Community Forum

SMF Support => Converting to SMF => MyBB => Topic started by: RogueDOC on June 10, 2009, 10:00:39 AM

Title: Mybb 1.4 to SMF 1.1.9
Post by: RogueDOC on June 10, 2009, 10:00:39 AM
Tried to convert Mybb 1.4 using THIS (http://www.simplemachines.org/community/index.php?topic=256073.0) sql. But i get this error.

QuoteFatal error: Call to undefined function getAttachmentFilename() in /home1/mohbarra/public_html/homefronthq/main/convert.php(1097) : eval()'d code on line 19

Any ideas on how to fix this? Thanks.
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on June 11, 2009, 02:15:48 AM
please try the converter from our downloads page:
http://download.simplemachines.org/?converters
(scroll down to smf_1-1-9_mybb14x_converter)
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: devnet on June 13, 2009, 12:11:50 PM
There is no mybb converter listed on that page...
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on June 13, 2009, 12:40:31 PM
uuuuhh sorry, looks like a "bug" on our downloads page (wrong permissions for the myBB converters)..

The file is attached..
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: devnet on June 13, 2009, 04:13:40 PM
That attachment is a broken archive @ 0kb :(
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on June 13, 2009, 04:41:12 PM
Damn, sorry.. attached are the latest files from our SVN repository..
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: devnet on June 13, 2009, 05:26:16 PM
Giving this a go and will report back :)
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: RogueDOC on June 13, 2009, 06:58:36 PM
Worked perfectly!! Thanks!
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: devnet on June 13, 2009, 09:47:22 PM
Works pretty good...two things didn't come across:

1. Notifications
2. Avatars

But hey, I got all the posts and all my members across.  I'm happy.
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: SAFAD on June 17, 2009, 06:22:49 PM
Good One
It Works After I Changed My Host
but
I Got An Error I Know Why And How So
My Attachments Are In Files As MyBB Do
And I Deleted Them By Wrong :(
When I Convert
The Converter Stop EvryThing Doesn't Complete
So I Am Not Sure What Didn't Convert :(
Best Regards
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on June 18, 2009, 01:19:04 AM
SAFAD, can you please post the full error message you got during the conversion?
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: SAFAD on June 18, 2009, 04:30:24 AM
hmmmmmmmm
i know this error
its open base dir
no such a file or directory
but how can i bypass attachment convert
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on June 18, 2009, 06:14:48 AM
you can remove the entire attachments conversion block from mybb14_to_smf.sql
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: PJAmerica on July 02, 2009, 11:06:46 PM
I have used the attached files provided but I am getting this error.
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on July 03, 2009, 02:26:31 AM
PJAmerica, edit the mybb14x_to_smf.sql and find:

---* {$to_prefix}log_polls

replace it with:
---* {$to_prefix}log_polls
---{
$ignore = true;
---}

Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: PJAmerica on July 03, 2009, 08:48:51 PM
but that will just skip the polls correct? I want to convert them.
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: ThorstenE on July 04, 2009, 02:00:26 AM
Quote from: PJAmerica on July 03, 2009, 08:48:51 PM
but that will just skip the polls correct? I want to convert them.
No, it will only skip duplicates. the MySQL query in convert.php will be changed from

INSERT INTO...
to
INSERT IGNORE INTO...

INSERT INTO will cause a break whenever there is a duplicate row, INSERT IGNORE INTO will ignore this error and proceed with the next row..
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: PJAmerica on July 05, 2009, 06:28:28 PM
THanks TE. I will give it ago and post up on the results.
Title: Re: Mybb 1.4 to SMF 1.1.9
Post by: H on July 10, 2009, 03:39:10 PM
PJAmerica, did you manage to convert?