Skip to content
WJunction - Webmaster Forum

transfer to new host

Status
Not open for further replies.

34 comments

yeah, thanks for the two of you.. your'e a great help. I have extracted the file, and I can see my web files..

now, I should upload it then for the new host.. right?
 
YEAH IT WILL CONTAIN ONLY THE FILES NOT DATABASE
FOR DATABASE: GO TO MYPHPADMIN OR SO
I 'DONT REALLY REMEMBER BUT THERE YOU SHOULD GET THE DB
CLICK ON IT AND THEN SELECT EXPORT...TO YOUR COMPUTER

AS YOU DON'T HAVE BACKUP SETTING....
 
in restoring the database, it should be import right?.. i got errors here..

[slide]http://epicimagehost.com/images/1fmf.png[/slide]
 
That specific error means that MyBB can't load the required MySQL extension. This may be because your web-host has removed it from your server.

However, you could try the following:

1) If you login to your ftp account and navigate to the folder "inc" and then find the file called "config.php"
2) Download that file to your computer and then open it in a text editor such as Notepad++.
3) With the file opened up, find the following line:

Code:

$config['database']['type']


If it matches the following:
Code:

$config['database']['type'] = 'mysqli';


replace it with:
Code:

$config['database']['type'] = 'mysql';


OR

if it matches the following:
Code:

$config['database']['type'] = 'mysql';


replace it with:
Code:

$config['database']['type'] = 'mysqli';


4) Save the file and then re-upload it, replacing the existing config.php file that is on your server.

If the above doesn't work, you will need to contact your web-host, quoting the error MyBB returned in order to resolve it.
 
Status
Not open for further replies.

About the author

K
Active Member · Joined
402
Messages
15
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom