Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: WOLKA on May 01, 2005, 02:18:53 PM

Title: Upgrading from phpBB
Post by: WOLKA on May 01, 2005, 02:18:53 PM
Hi,

How can I upgrade phpBB2 to SMF
without losing any post ?

thanks,
Title: Re: Upgrading from phpBB
Post by: Owdy on May 01, 2005, 02:22:14 PM
Make fresh install of smf to same server where your phpbb is, use differend dir of course. Upload converter to smf's root and run it. Thats it! :)

Remember, both forums has to use same database!

http://www.simplemachines.org/download.php?converters
Title: Thanks!
Post by: WOLKA on May 01, 2005, 02:24:43 PM
Thank you!!!
Title: Re: Upgrading from phpBB
Post by: Owdy on May 01, 2005, 02:26:21 PM
At your service ;)
Title: Re: Upgrading from phpBB
Post by: Miraenda on May 01, 2005, 03:42:47 PM
Quote from: Owdy on May 01, 2005, 02:22:14 PM
Make fresh install of smf to same server where your phpbb is, use differend dir of course. Upload converter to smf's root and run it. Thats it! :)

Remember, both forums has to use same database!


Are you sure about this?  I just tested this as I thought I'd put my 2 forums into a different database at one point when I was testing phpBB to SMF conversion and I just retested doing just that.  I have 2 different forums:

miraenda_phptosmf (has phpBB forum in it)
miraenda_smftest (has SMF test forum in it)

I then ran the conversion script, and it successfully converted it even though both were in different databases.  I've also tested with both in the same database.  No difference, both work.  Thus, have you tested this doesn't work?

If you test it, this is how it works.  The database user has to have access to both databases.  If you put it in the same database, this isn't an issue.  If you put the 2 scripts in different databases, then you have to ensure the database user (or one of the users) has the same password to access both databases.  These configurations work:

- same database (as password you input will work for both)
- different databases, same database user (as password you input will work for both)

This will not work:

- different databases, different database users with different passwords

Not yet sure if this works:

- different databases, different database users with same password

I'll gladly let you test on my account if you don't believe me that this does work to have them in different databases following the above configurations.

Thanks.
Title: Re: Upgrading from phpBB
Post by: [Unknown] on May 01, 2005, 09:35:57 PM
Yes, you really just have to have one ACCOUNT that has access to both databases (and as many other accounts as you want with access to whichever you wish.)  However, in practice, some control panel tools do not give you the ability to give one user access to more than once database.

-[Unknown]
Title: Re: Upgrading from phpBB
Post by: makingob on May 07, 2005, 01:23:46 PM
Hi, I have been reading this thread and have to ask an insanly stupid question. Gee can you tell I am a complete newbie at this?

I have SMF installed and working. I have the converter script uploaded into the SMF directory. I have a backup of my PHPbb forum.

What do I do now?????

I am kinda lost. :o

Thanks
Title: Re: Upgrading from phpBB
Post by: WOLKA on May 07, 2005, 02:12:58 PM
Now
have a fun using SMF  ;) !

Now You may delete your phpBB...
Title: Re: Upgrading from phpBB
Post by: Owdy on May 07, 2005, 03:15:26 PM
Quote from: makingob on May 07, 2005, 01:23:46 PM
Hi, I have been reading this thread and have to ask an insanly stupid question. Gee can you tell I am a complete newbie at this?

I have SMF installed and working. I have the converter script uploaded into the SMF directory. I have a backup of my PHPbb forum.

What do I do now?????

I am kinda lost. :o

Thanks
Run converter script from smf root dir.
Title: Re: Upgrading from phpBB
Post by: makingob on May 07, 2005, 03:38:26 PM
I did that, but am confused as to the path of my backup database file. I am not sure where to find it.

Thanks
Title: Re: Upgrading from phpBB
Post by: [Unknown] on May 07, 2005, 04:08:14 PM
It doesn't need the backup database file, it needs the database to be uploaded and installed into MySQL.

You need to be able to access the data with phpMyAdmin on the server.  What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)

After that, the path to the phpBB settings file should be similar to that of the SMF one, except with phpBB instead of smf, or similar.  If you're still confused, just copy config.php and extension.inc into the SMF directory.

-[Unknown]
Title: Re: Upgrading from phpBB
Post by: d6veteran on October 09, 2005, 01:15:44 AM
My phpbb 2.0.17 mySQL server is [email protected].
My smf 1.0.5 mySQL server is [email protected].

Both databases have the same username and password.

When I run the phpbb to smf script I get the error: "Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it."

I've heard both that the conversion will work with different DBs and that it will not.  Is there any hack to get it to work across two DBs?  Is there anything I am missing?

Thanks.

Title: Re: Upgrading from phpBB
Post by: Oldiesmann on October 11, 2005, 01:37:58 PM
Make sure that the username and password specified in SMF's Settings.php match the username and password specified in phpBB's config.php...
Title: Re: Upgrading from phpBB
Post by: d6veteran on October 13, 2005, 05:12:20 PM
I couldn't get it to work until I exported and restored the phpBB tables into the smf db.  Then I just made a fake phpbb config file pointing to the smf db.  That worked fine.
Title: Re: Upgrading from phpBB
Post by: trina on October 17, 2005, 03:15:06 PM
Can someone please tell me why I keep getting this?

The database password you entered was incorrect. Please make sure you are using the right password (for the SMF user!) and try it again.

I am using the right password.
Title: Re: Upgrading from phpBB
Post by: Oldiesmann on October 17, 2005, 04:09:49 PM
That means that the database password you're entering doesn't match what's in Settings.php. Use the one that's in Settings.php and you won't get that message :)
Title: Re: Upgrading from phpBB
Post by: trina on October 17, 2005, 05:25:52 PM
thanks...now i'm getting this...

Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.
Title: Re: Upgrading from phpBB
Post by: Oldiesmann on October 19, 2005, 01:23:34 PM
Make sure that the MySQL username and password are the same for both SMF and phpBB. If that still doesn't work, move all the phpBB tables onto your SMF database and try it.
Title: Re: Upgrading from phpBB
Post by: sputnikradio on October 21, 2005, 01:28:05 PM
I have a question about this.


I recently switched to sm but i switched servers and deleted my entire site. I recently installed (today) sm . I only downloaded a back up of my previous phpbb database . I do not have the phpbb database or program running on my new server. I only have the database back up.

is there anyway anyway whatsoever I can use this database to make sm have the same tables and post and forums and members and all so that I do not lose a whole years worth of members and their post?


If there is NO WAY then I understand I have to just start over. But if there is anyway could you at least drop me a hint . Anyone with knowledge of this of course.

Thank you


sput
Title: Re: Upgrading from phpBB
Post by: judymcl on October 22, 2005, 03:35:20 AM
I sort of had a similar problem as you sputnikradio, except mine wasn't deleted yet. I got it to work but I had to do a few extra steps 1st.


Once I checked everything over at my new SMF to make sure everything was all good, I just deleted the phpBB directory and the phpBB tables out of the database.

I can't guarantee it will work for you, but it may be a worth a shot if you like.


Title: Re: Upgrading from phpBB
Post by: O Velho on October 26, 2005, 01:56:50 PM
Quote from: d6veteran on October 09, 2005, 01:15:44 AM
My phpbb 2.0.17 mySQL server is [email protected].
My smf 1.0.5 mySQL server is [email protected].

Both databases have the same username and password.

When I run the phpbb to smf script I get the error: "Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it."

I've heard both that the conversion will work with different DBs and that it will not.  Is there any hack to get it to work across two DBs?  Is there anything I am missing?

Thanks.



That´s exactly my problem! Any toughts? Anyone?  :D
Title: Re: Upgrading from phpBB
Post by: Oldiesmann on October 27, 2005, 01:13:47 PM
Quote from: sputnikradio on October 21, 2005, 01:28:05 PM
I have a question about this.


I recently switched to sm but i switched servers and deleted my entire site. I recently installed (today) sm . I only downloaded a back up of my previous phpbb database . I do not have the phpbb database or program running on my new server. I only have the database back up.

is there anyway anyway whatsoever I can use this database to make sm have the same tables and post and forums and members and all so that I do not lose a whole years worth of members and their post?


If there is NO WAY then I understand I have to just start over. But if there is anyway could you at least drop me a hint . Anyone with knowledge of this of course.

Thank you


sput

http://www.simplemachines.org/community/index.php?topic=54639.msg383845#msg383845

Quote from: O Velho on October 26, 2005, 01:56:50 PM
Quote from: d6veteran on October 09, 2005, 01:15:44 AM
My phpbb 2.0.17 mySQL server is [email protected].
My smf 1.0.5 mySQL server is [email protected].

Both databases have the same username and password.

When I run the phpbb to smf script I get the error: "Sorry, the database connection information used in the specified installation of SMF cannot access the installation of phpBB2. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it."

I've heard both that the conversion will work with different DBs and that it will not.  Is there any hack to get it to work across two DBs?  Is there anything I am missing?

Thanks.



That´s exactly my problem! Any toughts? Anyone?  :D

Make sure that both the smf database user and the phpbb database user can access both the smf and the phpbb databases - It will work with different databases, but you need to make sure that forums are using the same MySQL username and password or that both users have access to both databases.