Simple Machines Community Forum

SMF Support => Converting to SMF => IPB => Topic started by: Ventic on June 04, 2012, 07:09:59 AM

Title: Latest convertor
Post by: Ventic on June 04, 2012, 07:09:59 AM
Does the final convertor for the 3.3 IPB to SMF latest version has announed or something?
Title: Re: Latest convertor
Post by: emanuele on June 04, 2012, 07:16:19 AM
Hello Ventic,

phantomm reported that the one for IPB 3.2 (http://www.simplemachines.org/community/index.php?topic=477019.msg3341342#msg3341342) should work with 3.3 too.
Feel free to try and report any problem. ;)
Title: Re: Latest convertor
Post by: Adrek on June 04, 2012, 07:55:32 AM
There may be error when converter tries to convert attachments (Fatal error: Call to undefined function getAttachmentFilename() in C:\Program Files (x86)\Ampps\www\smfipb\convert.php(1251) : eval()'d code on line 18), but this fix it => http://www.simplemachines.org/community/index.php?topic=477019.msg3339519#msg3339519

Didn't noticed any other errors :)
Title: Re: Latest convertor
Post by: Ventic on June 04, 2012, 11:24:40 AM
Quote from: emanuele on June 04, 2012, 07:16:19 AM
Hello Ventic,

phantomm reported that the one for IPB 3.2 (http://www.simplemachines.org/community/index.php?topic=477019.msg3341342#msg3341342) should work with 3.3 too.
Feel free to try and report any problem. ;)
hello and thanks for making this convertor
though it will convert my database to the latest smf version?
Title: Re: Latest convertor
Post by: Adrek on June 04, 2012, 11:27:47 AM
it will convert IPB 3.2 or 3.3 to SMF 2.0 or 2.0.1 or 2.0.2 - depends what version you have installed
Title: Re: Latest convertor
Post by: Ventic on June 04, 2012, 11:32:52 AM
i want to install the latest version of smf

do we got any guide or something how to do the convertion?
Title: Re: Latest convertor
Post by: Adrek on June 04, 2012, 11:48:26 AM
Haven't seen any, but it's simple:
1. Install SMF 2.0.2
2. Download converter (convet.php and *.sql file)
3. Upload converter to root directory of your SMF forum (same catalog where you have SSI.php and Settings.php)
4. Run convert.php in your web browser, enter patchs to IPB and SMF, enter your database password (password mus be the same in IPB and SMF database)
5. Click 'Continue'

If there won't be any errors after a while your forum will be converted :)
Title: Re: Latest convertor
Post by: Ventic on June 04, 2012, 11:59:51 AM
sounds easy,will do the test at night

thanks :)
Title: Re: Latest convertor
Post by: Adrek on June 04, 2012, 12:09:51 PM
Of course I have to add - remember to make backups! :)
Title: Re: Latest convertor
Post by: Ventic on June 04, 2012, 01:06:06 PM
i should upload and my db's sql file?
Title: Re: Latest convertor
Post by: Adrek on June 04, 2012, 01:16:12 PM
You have to upload only 2 files from this post => http://www.simplemachines.org/community/index.php?topic=477019.msg3341342#msg3341342
convert.php and ipb3_to_smf.sql
Title: Re: Latest convertor
Post by: Ventic on June 04, 2012, 01:19:14 PM
and should exist 2 databases right?

the original databse of smf and the database of my ipb forum
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 12:06:28 AM
Quote from: Ventic on June 04, 2012, 01:19:14 PM
and should exist 2 databases right?

the original databse of smf and the database of my ipb forum
eh?
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 03:58:59 AM
That would be ideal (you can also use the same database with different prefixes for the tables, however I'd recommend two different databases).
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 07:02:35 AM
i am using two different databases though what is this:

Sorry, the database connection information used in the specified installation of SMF cannot access the installation of Invision Power Board 3.2. This may either mean that the installation doesn't exist, or that the Database account used does not have permissions to access it.

The error that was received from the Database was: SELECT command denied to user 'gamingpa'@'localhost' for table 'members'
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 07:29:27 AM
Are you putting the upgrade.php and ipb3_to_smf.sql files into the SMF directory and are you providing the correct path to IPB?
Are you using two different usernames for the two databases?
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 07:47:43 AM
yes i uploaded the files in smf directory
also yesi use two different databases with different names
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 08:59:36 AM
The user "gamingpa" is the user for SMF or IPB?
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 10:32:38 AM
smf
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 10:43:38 AM
I see.
You have two options:
1) grant to the "gamingpa" user (at least) the SELECT privilege for the SMF database (your host should allow you to handle this kind of things from the control panel),
2) install SMF in the same database as IPB.
If possible 1 should be ideal because in case of problems with the conversion you can simply wipe out the database and start from scratch, but 2 is good either, just pay attention to use a prefix for the tables (default is smf and should be fine) so that you don't have table names clashes.
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 10:44:58 AM
you mean to install ipb database to the same as smf one but in smf's db use prefix ?
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 10:51:18 AM
I mean: you now have an IPB database somewhere, install SMF in the same database as IPB (while installing define a prefix for the tables name (this is default during install, so it should not be necessary to change anything) and then do the conversion. :)
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 02:21:54 PM
hmm ok wait for my reply then if worked or not
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 04:35:14 PM
something else for my new db i should export the smf_ tables right?
Title: Re: Latest convertor
Post by: emanuele on June 05, 2012, 05:19:13 PM
I'm not sure what do you mean, I have two interpretation, but will bet on the second one.

If you want to move the just converted SMF forum to a different database, yes you can export the SMF tables and re-import them to the other database.

If I misunderstood you let me know! ;)
Title: Re: Latest convertor
Post by: Ventic on June 05, 2012, 05:58:19 PM
no you didnt..:)

thanks,i will do the convertion tomorrow so stay tunned :D
Title: Re: Latest convertor
Post by: BRAM2002 on May 04, 2013, 12:34:30 PM
Quote from: phantomm on June 04, 2012, 11:48:26 AM
Haven't seen any, but it's simple:
1. Install SMF 2.0.2
2. Download converter (convet.php and *.sql file)
3. Upload converter to root directory of your SMF forum (same catalog where you have SSI.php and Settings.php)
4. Run convert.php in your web browser, enter patchs to IPB and SMF, enter your database password (password mus be the same in IPB and SMF database)
5. Click 'Continue'

If there won't be any errors after a while your forum will be converted :)
Unfortunatley i stuck on point 3..... :(
Title: Re: Latest convertor
Post by: emanuele on May 04, 2013, 06:05:16 PM
???
You mean you are not able to upload the file?