News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

how to shift from one webhost to another

Started by krittin98, June 08, 2013, 11:45:13 AM

Previous topic - Next topic

krittin98


The Team K Developers
www.theteamk.co.nr

LiroyvH

Have you tried using our search function here?
This question has been answered many times and there's also information about it in our wiki.

If you get stuck in the process, please indicate what the problem is.
Some hosts will help you transfer.

Please try to do a little searching here first before asking a new question.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Herman's Mixen

Make a backup of your database holding the SMF Database structure from your old webhost via PhpMyAdmin
download all your files from your old host

import at the new host the backuped database also via PhpMyAdmin
the downloaded files from your PC upload them to your new host

download from our download page the tool repair_settings.php
upload that to the main directory of your SMF location where SSI.php is

run in your browser the tool as example http://www.yourhost.com/repair_settings.php
and follow the steps ;)
Met vriendelijke groet, The Burglar!

 House Mixes | Mixcloud | Any Intelligent fool can make things bigger, more complex, and more violent.
It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

Former Godfather of our dutch community ;)

kat


Colin

Welcome to SMF, by the way! Let us know if you need any help along the way.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

krittin98

I am facing the following problem while transferring the database
Please see the screenshot and help me if you can
I followed the guide at http://wiki.simplemachines.org/smf/Backup
Thanks in advance

The Team K Developers
www.theteamk.co.nr

Kindred

1- how did you create the backup?
2- It looks like you are trying to jam SMF tables into another database?   You should, instead, create a brand new database on your new server and then import into that...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

krittin98

i tried as you said
i crossed the database obstacle
then i uploaded repair_settings.php to the webroot(where settings.php is located)
but i am still getting this error

The Team K Developers
www.theteamk.co.nr

Kindred

did you copy *ALL* of the smf files to the new host as well?

that error message suggests that you did not.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MrPhil

Just look at the message. You're running repair_settings.php on the new server in /home/....mk/public_html/, but your Settings.php says to look for the SMF forum in /home/....61400/public_html/ (presumably your old hosting). Did you skip a step in repair_settings and not update the file path?

BTW it's not a good idea to expose your server account name to the public. A hacker on the same server might be able to get into your site with that information.

krittin98

Quote from: Kindred on July 30, 2013, 01:30:53 PM
did you copy *ALL* of the smf files to the new host as well?

that error message suggests that you did not.
i did copy all the files
and i just uploaded the repair_settings.php file directly to the webroot
did i miss anything?

The Team K Developers
www.theteamk.co.nr

Kindred

Quote from: MrPhil on July 30, 2013, 01:35:29 PM
Just look at the message. You're running repair_settings.php on the new server in /home/....mk/public_html/, but your Settings.php says to look for the SMF forum in /home/....61400/public_html/ (presumably your old hosting). Did you skip a step in repair_settings and not update the file path?

If all esle fails, edit the base path in Settins.php directly and then run repair_settings to fix the rest of the stuff
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: krittin98 on July 30, 2013, 01:40:16 PM
i did copy all the files
and i just uploaded the repair_settings.php file directly to the webroot
did i miss anything?

you uploaded repair_settings.php, but did you actually RUN it?

Kindred

Illori... :P   Look at the screen shot.  :-X   O:)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

sorry i did not see that, but i have never seen repair_settings.php do that...

krittin98

Quote from: Illori on July 30, 2013, 01:46:03 PM
Quote from: krittin98 on July 30, 2013, 01:40:16 PM
i did copy all the files
and i just uploaded the repair_settings.php file directly to the webroot
did i miss anything?

you uploaded repair_settings.php, but did you actually RUN it?
yes i ran it
now what should i do

The Team K Developers
www.theteamk.co.nr

Kindred

Quote from: Kindred on July 30, 2013, 01:44:34 PM
Quote from: MrPhil on July 30, 2013, 01:35:29 PM
Just look at the message. You're running repair_settings.php on the new server in /home/....mk/public_html/, but your Settings.php says to look for the SMF forum in /home/....61400/public_html/ (presumably your old hosting). Did you skip a step in repair_settings and not update the file path?

If all esle fails, edit the base path in Settins.php directly and then run repair_settings to fix the rest of the stuff
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

krittin98


The Team K Developers
www.theteamk.co.nr

MrPhil

Your old base path is /home/....61400/public_html/. Your new base path is /home/....mk/public_html/. If repair_settings.php won't let you change it, you'll have to manually edit Settings.php to change that entry under $boarddir (as well as $sourcedir and $cachedir).

krittin98


The Team K Developers
www.theteamk.co.nr

Advertisement: