Advertisement:

Author Topic: [SMF Converter] IPB 1.3.x  (Read 278263 times)

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #80 on: April 26, 2008, 04:42:21 PM »
Well looking at the actual conversion code for IPB it seems it is actually coming from group 6..

Can you also attach an image from your smf_membergroups table?
I want to see where it might of gone wrong.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #81 on: April 26, 2008, 04:59:46 PM »
here is it

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #82 on: April 26, 2008, 05:31:26 PM »
Ok, lets try this attached script..
I bumped the id group it was using, so it should be doing it. Hopefully :|
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #83 on: April 26, 2008, 05:55:18 PM »
still the same error, except that it says "Converting permissions...Duplicate entry '15' for key 1" instead of "Converting permissions...Duplicate entry '9' for key 1"

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #84 on: April 26, 2008, 06:10:10 PM »
At the start of the conversion.
Add ?debug=1
into the url.

And attempt the conversion again, Hopefully if I read the convert.php code right this should put it into a debug mode...
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #85 on: April 26, 2008, 06:28:17 PM »
ok this is what I got now:


Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #86 on: April 26, 2008, 08:13:31 PM »
I am going to have to let jay look at this, I am not sure what is up now..
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #87 on: April 28, 2008, 01:11:20 AM »
DJ Omnimaga,

Can you try the attached file?
It should hopefully ignore the duplicate errors and help with this.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #88 on: April 28, 2008, 01:32:00 AM »
nope, still getting the same error, with ?debug=1 or not :(

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #89 on: April 28, 2008, 01:43:53 AM »
Ok, Hopefully I got it right this time.
Forgot that php was handling lots of the work instead of straight SQL commands.

Thanks for being so patient with me while we try to get this going :)
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #90 on: April 28, 2008, 02:48:32 AM »
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/32/d221544684/htdocs/smf/convert.php on line 780
Invision Power Board to SMF Converter
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 permissions... Successful.
Converting board permissions...
Fatal error: Cannot redeclare magicmask() (previously declared in /homepages/32/d221544684/htdocs/smf/convert.php(910) : eval()'d code:41) in /homepages/32/d221544684/htdocs/smf/convert.php(913) : eval()'d code on line 41

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #91 on: April 28, 2008, 10:45:52 AM »
Well thats good :) We made it past permissions and now are onto board permissions.

I don't know why so many errors are occurring though.. Very odd.

I added a function check around the function so it shouldn't duplicate the function for what ever reason it was :|
Edit, I even took the precaution to make it check the other function we use in there as well :)
« Last Edit: April 28, 2008, 10:47:56 AM by SleePy »
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #92 on: April 28, 2008, 02:26:37 PM »
yeah I hope my database isn't broken :S, I would hate if my forum was impossible to convert and that I had to restart from scratch :S

Now this time things went fine until 2nd page. It said the conversion was paused or something to avoid overloading server (didn't got time to read as the page automatically changed afterward) and then landed on a page saying the following:

Quote
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /homepages/32/d221544684/htdocs/smf/convert.php on line 780

Notice: Undefined index: charsets in /homepages/32/d221544684/htdocs/smf/convert.php on line 378
Invision Power Board to SMF Converter
Converting...
Converting attachments... Successful.
Converting avatars...
Warning: copy(/homepages/32/d221544684/htdocs/uploads/upload.wikimedia.org/wikipedia/commons/1/1c/CMS_Higgs-event.jpg) [function.copy]: failed to open stream: No such file or directory in /homepages/32/d221544684/htdocs/smf/convert.php(1075) : eval()'d code on line 7
Successful.
Recalculating forum statistics... Successful.
Conversion Complete
Congratulations, the conversion has completed successfully. If you have or had any problems with this converter, or need help using SMF, please feel free to look to us for support.
 Please check this box to delete the converter right now for security reasons. (doesn't work on all servers.)

Now that everything is converted over, your SMF installation should have all the posts, boards, and members from the Invision Power Board installation.

We hope you had a smooth transition!

As for now, all attachments seems to be there, only problem is that they won't show up for guests x.x

Aside from that things seems fine. I have no idea why the other SQL errors occured though

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #93 on: April 28, 2008, 03:53:01 PM »
I don't have a good idea either, It would be something I need to dig into though I guess.

Go to Admin -> Permissions
Click Guests
And then down on the right click the box to allow guests to view attachments.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline DJ Omnimaga

  • Jr. Member
  • **
  • Posts: 160
  • Gender: Male
  • CodeWalrus founder & retired Omnimaga founder
    • DJOmnimaga.Music on Facebook
    • @DJOmnimaga on Twitter
    • DJ Omnimaga Music
Re: [SMF Converter] IPB 1.3.x
« Reply #94 on: April 28, 2008, 04:46:17 PM »
ok, now another problem is that auto-login doesn't work :(

Everytime I visit the board I have to login again, even if I set a time to stay logged in. With IPB I didn't had this problem. Idk if it's related to a conversion problem or the server

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #95 on: April 28, 2008, 07:05:26 PM »
Sometimes that means the cookie is corrupted.

You can try changing your cookie name in Admin -> Server Settings to something else.
Sometimes it also happens because of database driven sessions (either on or off) which can be enabled in the Feature configuration tab in that same section.
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline MaNaRa

  • Full Member
  • ***
  • Posts: 462
Re: [SMF Converter] IPB 1.3.x
« Reply #96 on: June 06, 2008, 07:26:29 PM »
hi, im spanish and would change my smf to IPB, but i don't make it, would you care to explain to me a bit like one makes?  I don't understand English very well, sorry im spanish
mi versión de foro es SMF 2.0

Offline MaNaRa

  • Full Member
  • ***
  • Posts: 462
Re: [SMF Converter] IPB 1.3.x
« Reply #97 on: June 07, 2008, 12:06:08 PM »
any help?
mi versión de foro es SMF 2.0

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,571
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: [SMF Converter] IPB 1.3.x
« Reply #98 on: June 07, 2008, 07:08:33 PM »
What doesn't make it?

Do you get any errors?
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline MaNaRa

  • Full Member
  • ***
  • Posts: 462
Re: [SMF Converter] IPB 1.3.x
« Reply #99 on: June 07, 2008, 07:47:10 PM »
im upload the .sql and the convert.php to my ftp but appear this message: Unable to find the settings for Invision Power Board 1.3. Please double check the path and try again.
« Last Edit: June 07, 2008, 07:51:51 PM by MaNaRa »
mi versión de foro es SMF 2.0