MyBB Community Forums

Full Version: How to change hosts successfully
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
When I go to phpmyadmin and then to SQL there isn't a browse button or anything.
What do I have to change in the settings.php in order to treat cookies correctly? I cannot log into ACP, it just reloads
^ see this guidance

$settings['cookiedomain'] = "___________";
$settings['cookiepath'] = "____________";
$settings['cookieprefix'] = "";

$settings['bburl'] = "_______________";
i changed my host but forum is not loading now...
Error log
2013-10-19 13:17:48.129 [NOTICE] [XXXX:51571-0#APVH_xmarket.me] [STDERR] PHP Fatal error:  require_once(): Failed opening required '/home/xmarketm/public_html/inc/plugins/registeredlinks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xmarketm/public_html/inc/class_plugins.php on line 43
2013-10-19 13:17:45.773 [NOTICE] [59.96.202.119:51570-0#APVH_xmarket.me] [STDERR] PHP Fatal error:  require_once(): Failed opening required '/home/xmarketm/public_html/inc/plugins/registeredlinks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xmarketm/public_html/inc/class_plugins.php on line 43
2013-10-19 13:06:22.362 [NOTICE] [XXXX:50232-0#APVH_xmarket.me] [STDERR] PHP Fatal error:  require_once(): Failed opening required '/home/xmarketm/public_html/inc/plugins/registeredlinks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xmarketm/public_html/inc/class_plugins.php on line 43
please help
Hello There

getting error message like this on forum

[Image: errormybb.png]

please help
(2008-01-22, 11:49 PM)Inferno Wrote: [ -> ]How to change hosts successfully

Description:
This tutorial will help you move your mybb community forum to another server/hosting account. If you have any errors or problems please reply or post in the support board.

Step 1

First go into your MyBB administrator control panel and disable all plugins then go down to Database Tools on the left frame and select Backup Database. Once you are brought to a new page on the right you will see a box with all of your database tables, on the left of that you will see "Select All", click that. Now make sure the following fields are checked:

GZIP Compressed
Download
Structure and Data
Analyse and Optimise Selected Tables: YES
Perform a sequential backup? YES


Now it will ask you to download the database file. Save it to your desktop or where ever you want.

Step 2

Download all of your forum files, download the WHOLE forum folder to your computer in your FTP Client.
Go into your new hosting control panel and create a mysql database and user.
Now open /inc/config.php and change it to your new host mysql database information you just created.

Note: only change the following lines:
$config['hostname'] = ' ';
$config['username'] = ' ';
$config['password'] = ' ';
$config['database'] = ' ';
$config['table_prefix'] = 'mybb_';
Now edit /inc/settings.php and edit the settings.


Once you have edited the files, save them and upload your forum folder to your new host using a FTP client.


Step 3

Go into your new hosting control panel and find out how to get into phpmyadmin. Once
you are in phpmyadmin click on your database name on the left. Once you click on the database
you will have access to all of the database tables. Now look at the top on the right for the tab that
says "SQL". Now look down to where it has a browse button and says "Or Location of the text file:".
Click on the browse file to find the Database Backup you downloaded on your old forums.
Then click the "GO" button, once its done it will have inserted all of the database a

Step 4

Go to your new forum URL and it should let you in it, then login with your username and password
from your old forum and then your all set, your forum should work the same as if it was on your
old host.

If you need help with anything just reply Wink

FAQS:

Question:
When I click any forum link it takes me to the old host???
Answer:
rh1n0 Wrote:If you type in your new domain address followed by /admin then you will be directed to the new Admin CP.
Then change (in your settings) the board URL to the new URL, and the other options of a similar nature, obviously.

Before doing so, ensure all files are correctly CHMOD'ed. Smile
Well I didn't get past the first step. I don't have a Database Tools option in my MyBB administrator control panel ?? Any ideas ?
Can the old forum be left up and running while I move the FTPed MyBB folder to the NEW host? Then, once I know its all working, take the old forum off line?
Can i use the same domain for both hosts or does it cost money to do that?
(2014-08-12, 12:29 AM)Nolan Wrote: [ -> ]Can i use the same domain for both hosts or does it cost money to do that?

You could do something through URL Redirection, or DNS. But the domain will be hosted on two different IP/servers.
Excellent guide.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14