Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: actbus on October 03, 2008, 03:38:55 AM

Title: Newbie - want to move forum to a new host
Post by: actbus on October 03, 2008, 03:38:55 AM
Hi Guys,

A bit of background.. . I've been using SMF for some time now on my website (board located at http://actbus.bur.st/board) and have been really happy with it. Unfortunately our non-for-profit host is on the verge of going bust and closing down, so i've gotten a new domain and was hoping to move my forum across, so that the posts are not lost and members do not have to sign up again.

Now, i've got what i'd say is a basic knowledge when it comes to this sort of thing, and i'm a bit stuck on how to properly move my forum across. I've made a backup of my forum from its current location, and have installed SMF on my new host (see www.actbus.net/board), went into phpmyadmin on my new server, selected the new board SQL database (which has a different name to the one on my current server) clicked import and uploaded the file, and was told it was successful. however when i go to access the board in its new location it appears that at least something has worked (the logo image has copied across) but when you try to login i get the following message:

Database Error
Please try again. If you come back to this error screen, report the error to an administrator.

and nothing else to indicate what the actual problem is.

I've probably made a mistake along the line, and the instructions in the documentation area here, basic as they probably are, are a little beyond me, so any help/tips would be appreciated!
Title: Re: Newbie - want to move forum to a new host
Post by: DirtRider on October 03, 2008, 04:05:31 AM
I see your old board is running Powered by SMF 2.0 Beta 3.1 Public and the new one Powered by SMF 2.0 Beta 4. Now I don't know this for sure but maybe you should have the same version on both sites
Title: Re: Newbie - want to move forum to a new host
Post by: casp3r on October 03, 2008, 04:41:32 AM
Backup old site (files and database)
Upload files to new server
Create new database on new server and import the backup
Edit Settings.php and enter the details of the new database - name, username, password etc
go here
http://www.simplemachines.org/download/?tools
and download Repair_Settings
Upload this file to your new server then point your browser at it - http://www.yourdomain.com/forum/repair_settings.php
This will tell you what the settings for you forum should be and allow you to make the necessary changes.
Title: Re: Newbie - want to move forum to a new host
Post by: actbus on October 03, 2008, 05:30:01 AM
thanks casp3r! just one or two more (probably very silly) questions:

Quote from: casp3r on October 03, 2008, 04:41:32 AM
Backup old site (files and database)

would i literally download the whole "forum" folder on my current server and upload the whole thing onto my new one, or just use the backup function in my current forum?  and do i need to install a copy of SMF on my new server before i do all of this?


Title: Re: Newbie - want to move forum to a new host
Post by: casp3r on October 03, 2008, 07:06:01 AM
Quotewould i literally download the whole "forum" folder on my current server and upload the whole thing onto my new one
Yes

Quotejust use the backup function in my current forum
This is the database back up - you need to create a new database and import this to it.

Quoteand do i need to install a copy of SMF on my new server before i do all of this?
No - just upload the forum files that you downloaded.
Title: Re: Newbie - want to move forum to a new host
Post by: actbus on October 03, 2008, 07:18:16 AM
cheers for that - will give it a go tomorrow and see how i go!
Title: Re: Newbie - want to move forum to a new host
Post by: actbus on October 03, 2008, 09:23:25 PM
just moved it all across without any problems. thanks for all the help, much appreciated!
Title: Re: Newbie - want to move forum to a new host
Post by: casp3r on October 04, 2008, 05:38:57 AM
No problem, glad you got sorted.