News:

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

Main Menu

Mybb 1.4 to SMF 1.1.9

Started by RogueDOC, June 10, 2009, 10:00:39 AM

Previous topic - Next topic

RogueDOC

Tried to convert Mybb 1.4 using THIS 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.

ThorstenE

please try the converter from our downloads page:
http://download.simplemachines.org/?converters
(scroll down to smf_1-1-9_mybb14x_converter)

devnet

There is no mybb converter listed on that page...

ThorstenE

uuuuhh sorry, looks like a "bug" on our downloads page (wrong permissions for the myBB converters)..

The file is attached..

devnet

That attachment is a broken archive @ 0kb :(

ThorstenE

Damn, sorry.. attached are the latest files from our SVN repository..

devnet

Giving this a go and will report back :)

RogueDOC


devnet

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.

SAFAD

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
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

SAFAD, can you please post the full error message you got during the conversion?

SAFAD

hmmmmmmmm
i know this error
its open base dir
no such a file or directory
but how can i bypass attachment convert
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

ThorstenE

you can remove the entire attachments conversion block from mybb14_to_smf.sql

PJAmerica

I have used the attached files provided but I am getting this error.

ThorstenE

PJAmerica, edit the mybb14x_to_smf.sql and find:

---* {$to_prefix}log_polls

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


PJAmerica

but that will just skip the polls correct? I want to convert them.

ThorstenE

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

PJAmerica

THanks TE. I will give it ago and post up on the results.

H

PJAmerica, did you manage to convert?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: