MyBB Community Forums

Full Version: Changed Sites
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I just changed my sites, and uploaded the mySQL successfully. Now, is there a template I could follow to set up my config.php and settings.php?
Edit config.php to point to your new database, edit the new board URL and cookie settings in settings.php (if needed), and then edit them again in the ACP when you log in (URL and cookie settings, that is).
Hi,

If you are referring to moving host, you will need to import your MySQL database backup (which you have already done) and then move all your forum files to the new host. Once that is done, you simply need to edit the config.php and change the following values:

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'root';
$config['database']['password'] = 'root';

If you have changed your sites url, you will need to change the Board URL, Cookie domain, Cookie path and Cookie Prefix which can be found in the settings.php file.

Regards,
Chris.
Ok, I am keeping the same domain, but I can't get back to the old files. Is that ok?
(2008-11-01, 09:55 PM)ruben Wrote: [ -> ]Ok, I am keeping the same domain, but I can't get back to the old files. Is that ok?

Hi,

If you can't access your old files, you will have unfortunately lost any:

Images - such as skin bits / custom emoticons (however, the stylesheet and theme templates will be still there, as they are stored in the database).
Uploads - attachments / users avatars

However, you will still be able to use your forum, just without the above data.

If you still want to continue, please follow the steps below to get your forum up and running on the new host:

1. Download MyBB from http://www.mybboard.net/downloads
2. Before uploading, delete the /install/ directory and then upload the rest of the files to your server (using ftp)
3. Using the file template, located here - modify that so that it matches your server details and then upload it to the inc/ directory.
4. After the above is complete, open your forums index page and MyBB should automatically create a new inc/settings.php based on the data stored in your database.

Regards,
Chris.
And for future reference, it's much easier to download all your files, as you can then simply upload them all to the new server, edit the 2 files and everything will work again, plus you don't loose any custom files.
Mat_,
Quote:but I can't get back to the old files

Sad
I will keep that for future reference, though. Thanks. Big Grin
http://fsxforum.co.cc/member.php?action=login
I get this error. Is the DNS just setting up?

Thanks,
Ruben
I get an error 404. Are you sure you uploaded your files to the correct location?
When I go to http://fsxforum.co.cc/

Quote:If you are seeing this, then your domain is propogated!
Wait, Why can't I login?
Pages: 1 2