News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Having Trouble Transferring hosts

Started by layedbaack, April 10, 2011, 01:26:04 AM

Previous topic - Next topic

layedbaack

Hey all  :) First i'd like to say that I'm kinda new to this stuff so please bear with me if I ask an obvious question.

I've recently gotten an account on Hostgator and I was and still am using x10hosting.

So, I backed up my public_html files and database from x10hosting and successfully uploaded them onto Hostgator (I used phpMyAdmin to import my database to hostgator).

The problem is that i'm not able to see my site after i've uploaded all my backup files.

I keep getting a "problem loading page" error

So I tried using the repair_settings.php. I uploaded it onto the public_html file in cpanel using an ftp client and I tried going to "example.com/forum/repair_settings.php" but no luck in even accessing my forum...

Am i doing something wrong and should I consult Hostgator about the problem?

Here's some additional information if you need it  :) -

-I remember I deleted some stuff in my cpanel before uploading my files. I made sure to back them up before permanently deleting them, should I re-upload them again and start from the beginning?

-It seems that I have made multiple databases in phpmyadmin but only successfully uploaded my files onto one of them, is having too much databases a problem? There are no files on the other DB's though.

-I checked my cpanel and i've noticed that my database that I created says that it has 0MB, could it be that I uploaded my backup database wrong? I know that i uploaded my backup DB onto the right DB name and everything...

Anyways, thanks for taking the time to read this and hope someone can help soon!

P.S. sorry if I posted this is the wrong place.


Illori

What version of smf are you running? this will help us to move this thread to a better place where people will be able to help you better.

layedbaack

Quote from: Illori on April 10, 2011, 06:55:23 AM
What version of smf are you running? this will help us to move this thread to a better place where people will be able to help you better.

SMF 2.0 RC4, sorry  :-[

Illori

can you provide a link to your forum so we can see the error message ourselves?


kat

There's simply nothing there.

How did you upload the files?

Not sure if it'd affect everything, but did you upload with Filezilla?

If so, was the transfer type set to "Auto"?

If so, again, try changing the transfer type to "Binary".

layedbaack

Quote from: K@ on April 10, 2011, 03:37:33 PM
There's simply nothing there.

How did you upload the files?

Not sure if it'd affect everything, but did you upload with Filezilla?

If so, was the transfer type set to "Auto"?

If so, again, try changing the transfer type to "Binary".

Hey,

I uploaded the public_html files without a ftp client and for my Database I used phpmyadmin.

Though I do have a ftp client - Cyberduck (I use a mac) which I used to upload the repair_settings.php file

And you said that there is nothing there, but I can see the public_html files that I uploaded in my cpanel :s

Thanks for the reply, btw

kat

I'm just of to bed, I'm afraid. (Well, I'm not. I quite enjoy it ;) ).

If you want to PM me some FTP login details, though, I can check stuff out, for you, if you like.

Please, before you do that, read this:

http://www.simplemachines.org/community/index.php?topic=87130.0

and this:

http://www.simplemachines.org/about/team.php

where you can check me out.

layedbaack


CapadY


When you're moved to another host it's almost sure login name and username for MySQL are different. Open settings.php with an editor, check (and if needed edit) username, password and maybe even databasename and upload this settings.php to your host via FTP.

Reasonable change repair_settings will work after that.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

amko_sa

Do you transfer your domain to new hosting, because your page is totally unavailable?
If you transfer your domain  ;D , create new sql database in cpanel and upload backup (database from old hosting) over php myadmin. For that databese create new user with full permissions and after that change your username and password in settings.php with newly created. All other errors(path) you can solve with repair settings.php file. Most important file when transfer your forum is settings.php so check every line inside that file, must be correct.

Adish - (F.L.A.M.E.R)

Seems like we are getting somewhere:
QuoteConnection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

Within your cPanel, make sure that you create a database, a username and then assign them to each other after the creation. Later, use repair_settings.php and fix the paths and database information.

Make sure that you delete repair_settings.php after your forum is back to normal. :)

layedbaack

Im back  ;D

Thanks a lot for the replies guys :)
I went and had a talk with a hostgator staff, apparently something was wrong with the .htaccess :S
but they've fixed it  :)


Quote from: (F.L.A.M.E.R) on April 11, 2011, 08:20:53 PM
Seems like we are getting somewhere:
QuoteConnection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

Within your cPanel, make sure that you create a database, a username and then assign them to each other after the creation. Later, use repair_settings.php and fix the paths and database information.

Make sure that you delete repair_settings.php after your forum is back to normal. :)

Okay thanks, I'm running the repair_settings.php right now, though I keep getting this:

QuoteMaintenance Mode:
Value not found!

I've tried going to click every option but for some reason it keeps saying the above :s  ^

Adish - (F.L.A.M.E.R)

Download a fresh copy of SMF 2.0 RC5, extract the Settings.php and upload it into your public_html

Then use repair_settings.php and it should work out nicely.

Later, you can change the website title and other minor details from Admin --> Server Settings.

layedbaack

Will do, but Im currently running RC4 will the RC5 settings still work with it?

layedbaack

hmm okay I did it but I got this:
QuoteParse error: syntax error, unexpected '}' in /home/dtmaster/public_html/Settings.php on line 62

Adish - (F.L.A.M.E.R)

Doesn't matter. :) They should be the same. Even if you use the 1.1.x Settings.php, it will still work in more of the cases. A few variables are added while nothing major has changed. ;)

Quote from: layedbaack on April 11, 2011, 08:49:48 PM
hmm okay I did it but I got this:
QuoteParse error: syntax error, unexpected '}' in /home/dtmaster/public_html/Settings.php on line 62
Did this come up after using the SMF 2.0 RC5 Settings.php?

layedbaack

ah okay  :)

QuoteDid this come up after using the SMF 2.0 RC5 Settings.php?
And yes it did,and with the old settings.php it wouldn't redirect me to another page it just kept giving me the maintenance error

Adish - (F.L.A.M.E.R)

Try doing the uploading and filling in the details in repair_settings.php

If it happens again, edit Settings.php after the error shows up and remove the curly bracket from line 62. I have come accross this myself and there was a fix somewhere if I remember it correctly. I'll try and dig it out. :)

layedbaack

ok ill try it again

Quote from: (F.L.A.M.E.R) on April 11, 2011, 08:57:56 PM
I have come accross this myself and there was a fix somewhere if I remember it correctly. I'll try and dig it out. :)

Thanks a lot  :)

Advertisement: