News:

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

Main Menu

[SMF Converter] IPB 2.1.x

Started by JayBachatero, February 10, 2007, 02:03:49 PM

Previous topic - Next topic

Retrolock

Hi! I'm having errors converting..

Do you have a converter for IPB 2.2.1 to SMF 1.1.2? thanks

edit: sorry I only just found out the 2.2.1 converter thanks

Carello

Unable to "convert" avatars from IPB 2.1.6 -> SMF 1.1.2, using the .sql and convert.php from this topic.

Repeating error for every avatar file in IPB:
Notice: Undefined variable: oldAvatarDir in x\public_html\convert.php(829) : eval()'d code on line 58

Warning: copy(/x.jpg) [function.copy]: failed to open stream: No such file or directory in x\public_html\convert.php(829) : eval()'d code on line 59


Any ideas, anyone?

[Dark.Shadow]

did you leaved your IPB installation safe? because if you deleted the IPB files, there's no way to convert the avatars. Everything else doesn't matter as long as you have the SQL File

Carello

Yes, of course my IPB installation is intact, otherwise the conversion wouldn't even start.

JayBachatero

You using the files form this topic?
Follow me on Twitter

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

Carello

As stated above, yes, I'm using the files from this topic.

[Dark.Shadow]

Quote from: Carello on March 09, 2007, 06:24:04 PM
Yes, of course my IPB installation is intact, otherwise the conversion wouldn't even start.

yes, it would start, mainly because the converter uses the SQL, not the files.

Check where your avatars from your IPB instalation are, it could be the converter looking into a different location

Carello

Please correct me if I'm wrong, but the converter looks for the conf_global.php in the IPB installation folder to get database name, MySQL user/pass and table prefixes, doesn't it?
So if the IPB files were deleted, that information would not be available to the converter, and it would not work.

And as far as I can tell, the IPB installation is the standard one, nothing has been changed, user uploaded avatars are in it's default location (/uploads).

I fixed the avatar problem right away simply by copying them manually, I just thought I'd let you know that the converter was unable to do the job, in case the problem should arise again for someone else.

rjscott

Juan- Not meaning to take a side road but... if I just want to update my already converted forum with new posts from the same IPB forum, which tables would I need to grab info from? Our SMF forum is about to go live and I just need to update the new posts, attachments. I don't want to re-convert because for whatever reason, the permissions, boards, settings didn't convert and had to be done manually. That took hours of work to figure out and I would like to try to avoid doing that again.
Thoughts? Ideas?  
RJ Scott

JayBachatero

I would edit the converter and just leave the topics and messages sections.
Follow me on Twitter

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

rjscott

Quote from: JayBachatero on March 11, 2007, 02:36:13 PM
I would edit the converter and just leave the topics and messages sections.
You say that sort of like you are talking to someone who knows what they're doing :-) I'll take a look at it but I'm no JayBachatero! LOL
RJ Scott

JayBachatero

Ok try this.  It converts topics, pots attachments and avatars.
Follow me on Twitter

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

rjscott

I'm trying it now. I'll report back in a few.
RJ Scott

rjscott

Quote from: JayBachatero on March 11, 2007, 02:58:38 PM
Ok try this.  It converts topics, pots attachments and avatars.
Converting...
Converting attachments... Successful.
Converting user avatars... Successful.
Recalculating forum statistics... Successful.
Conversion Complete
Okay- question- did the converter grab all posts or just new posts? I ask because I made a test post on IPB before running it and the quotes didn't work. I checked other posts that were already in smf and they are fine.
RJ Scott

JayBachatero

It grabs all posts.  Well it should grab all posts.
Follow me on Twitter

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

rjscott

Quote from: JayBachatero on March 11, 2007, 03:38:05 PM
It grabs all posts.  Well it should grab all posts.
Okay- let me look around some more and I'll report back.  
RJ Scott

rjscott

Quote from: JayBachatero on March 11, 2007, 03:38:05 PM
It grabs all posts.  Well it should grab all posts.
Okay-I quoted in IPB and ran the converter again. It worked! The only thing that seems to elude the converter all the time is the avatars.  
RJ Scott

rjscott

Quote from: rjscott on March 11, 2007, 03:49:51 PM
Quote from: JayBachatero on March 11, 2007, 03:38:05 PM
It grabs all posts.  Well it should grab all posts.
Okay-I quoted in IPB and ran the converter again. It worked! The only thing that seems to elude the converter all the time is the avatars. 
Oh and it re-imported users into the Regular Members permission group... If it could skip that step... or just import users who signed up in the last 30 days... Yeah, I'm asking too much, aren't I?
RJ Scott

JayBachatero

Quote from: rjscott on March 11, 2007, 03:53:08 PM
Quote from: rjscott on March 11, 2007, 03:49:51 PM
Quote from: JayBachatero on March 11, 2007, 03:38:05 PM
It grabs all posts.  Well it should grab all posts.
Okay-I quoted in IPB and ran the converter again. It worked! The only thing that seems to elude the converter all the time is the avatars. 
Oh and it re-imported users into the Regular Members permission group... If it could skip that step... or just import users who signed up in the last 30 days... Yeah, I'm asking too much, aren't I?
You can't really convert the users since the converter truncates the tables.
Follow me on Twitter

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

rjscott

Understand.
Well once again, I thank you for the great work. I don't understand why the avatars refuse to play nice on my conversion but oh well. I even tried copying them directly into the attachments folder but no joy.
RJ Scott

Advertisement: