Ok my site went down 2 days ago, so I decided it was a perfect opertunity to switch hosts. The new host instructed me to backup my database & my home directory, which I did. Unfortunately I later discover that the home directory backup is corrupt and useless ! and like an idiot I had already deleted it from the old host. Anyway I think to myself (wrongly perhaps) no probs, I'll just do a new install of WP and then try to reinstall the DB backup ! Now I have tried using the backup wizard in cpanel & it will not do it, just flashes up loads of red errors at the end of the transfer. So I tried importing from within PH myadmin, this worked ! or at least the posts were there which is the most important as far as I am concerned. However when I then try to go to my website / blog it says page cannot be found...?
I then try going to config.php, delete the DB & password & put in the original DB & password from the original DB. But then instead of getting page not found, I'm getting the error below.
Warning: Cannot modify header information - headers already sent by (output started at /home/my-domain/public_html/blog/wp-config.php:153) in /home/my-domain/public_html/blog/wp-includes/pluggable.php on line 850
and on line 850 is;
header("Location: $location");
Now being a complete newcomer to WP & PHP I have not got a clue what is going on here ! The data I want is still on the old host, and getting a backup of it is not a problem, but how on earth do I then get it installed and used in a new install of WP. Obviously, due to the corrupt home directory, my site can easily be rebuilt, but there is now way on earth I could ever remember all the posts and replace them.
Can someone please help me out here and tell me what the hell I am doing wrong...? I mean what is the point in having a backup facility if then you cannot reinstall and get it working again...???
This is driving me crazy & my site has already been down for 2 days !!!
Help Please Guys, Girls, Anybody !!!
Taffy