• Resolved infmz

    (@infmz)


    Hi,

    I’ve had to migrate my WP Network from one server to another (both are internal and not hosted by external companies). After following what I believe are all the necessary steps (backing up, copying, search/replace in DB, changing wp-config.php) all I see when I browse to my new domain/server is a blank page.

    Just to describe the process in a bit more detail:

    • I installed LAMP on new server (CentOS)
    • Installed phpmyadmin
    • Backed up wordpress installation via ftp & tar
    • Backed up db
    • Updated domain in database via search&replace
    • Moved wordpress installation to new server via unix tar command
    • Uploaded db via phpmyadmin
    • Edited wp-config.php

    And now I see a blank page.

    Just to make matters worse, I now see a blank page on my existing server too, though this seems to have triggered later. I’ve gone through my unix command history and other than tarring files across from one server to another, I haven’t done anything that ‘touched’ the wordpress installation.

    I’ve tried the renaming plugins trick but to no success. Also, the back end on my new server doesn’t seem to work either and the error message displayed reads,

    ERROR: Unknown error in LDAP Authentication.
    ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

    Thanks in advance!

    P.S. I’ve searched a whole afternoon before posting this

    EDIT: Might be worth adding that I’m allowing ports access individually on the redhat firewall, so far only 80 (virtual host), 21, 22 are allowed.

Viewing 15 replies - 16 through 30 (of 34 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    v 5.2.10 should work on CentOS (I used it on CentOS 4).

    A fresh install works until you upload the old database/content, is that right?

    Thread Starter infmz

    (@infmz)

    Well that’s the thing… I’ve already dropped the server theory and am thinking about the database. I didn’t run a fresh install on the CentOS (5.5) server, I merely used tar to shift my installation over to the new server.

    I’m now looking to recreate the site from scratch and see if that works, by installing wordpress from scratch and then piece-by-piece shifting my content over and uploading the DB.

    *Edited for lack of clarity*

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    For grins and giggles, and since it’ll take you 5 minutes, do a fresh WordPress install and see if THAT works.

    Thread Starter infmz

    (@infmz)

    Lol thanks for the suggestion. Will give it a try later as I’m about to travel now.

    I was concerned about a fresh install due to my plugin configurations etc and going through everything one by one. But I guess I have no choice and am wasting too much time on it now.

    Thanks again. Will update when I get the chance.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah, when everything’s wrong, make sure the BASIC stuff will work at all ?? THEN add on the layers.

    Thread Starter infmz

    (@infmz)

    Well…

    It must be a db issue as a new installation word perfectly fine.. So far that is. At this point, are you able to recommend a good guide to drop my old files, themes, plugins and DB back in? Or should I straight copy everything back in and upload the DB?

    Well, I’ll take an image of the server for now and try the latter in the meantime! Thanks!

    Thread Starter infmz

    (@infmz)

    Ok, I’ve realised that importing the db tables individually and reconfiguring is very long and doesn’t always ‘work’. Any other suggestions at this point?

    Thanks.

    Have you foudn the error logs on the server?

    Thread Starter infmz

    (@infmz)

    I have, I checked them earlier. The only errors shown were one related to a favicon.ico, which can’t be serious. But the time of this ‘error’ didn’t reflect my later login attempts.

    I;d clear that one up anyway, just because enough traffic on that kind of hit can cause speed issues (when you’re back up).

    Otherwise, you may be at the point you need to hire someone to dig you out.

    Thread Starter infmz

    (@infmz)

    Yeah, I will start paying to lot more attention to logs =)

    Well right now, I’ve kept an image of the current state of the blog. From there I’ve made a copy and reinstalled wordpress and am slowly copying my tables backover… It’s quite a horrific task, but I gotta get something running by the end of the week.

    EDIT: I’ve just seen how much work I’d have to redo if I got about this way… Probably better avoiding it then!

    Thread Starter infmz

    (@infmz)

    I’m moving forward finally!!!

    I’ve managed to login on the newer installation. But my ldap and permalinks are still not working.

    Basically, it seems there were some problems in my DB as I backed it up a second time and done a search replace again. Though I done a replace all, in some cases it was wrong, I’m guessing it was my doing.

    Anyway, on the new install I made sure the DB had no such discrepancies and I’m in. Though I think there’s more problems with the first.

    Now for resolving my ldap authentication and permalinks. I have a htaccess file and permalinks are set, but it’s still not resolving…

    Thread Starter infmz

    (@infmz)

    Since I can’t edit my last post now and I noticed the meaningless sentances… By wrong I meant that the URL was a tad bit wrong, some instances had my new url mixed with the old!?

    By problems with the first, I meant the first installation (the one that loops).

    Regarding permalinks, in the setup the desired method is set, htaccess looks correct, I added RewriteEngine On and RewriteOptions Inherit to my vhost, and allowed AllowOverRide to All…

    As for ldap, open ldap is installed as is the php-ldap package. The settings are exactly as with the last but its still not authenticating.

    EDIT: Resaving the pages/posts hasn’t worked for me…

    Thread Starter infmz

    (@infmz)

    Here’s the error log,

    [Wed Feb 09 09:50:48 2011] [error] [client 172.21.7.48] File does not exist: /var/www/html/forms, referer: {My URL}

    So apache isn’t doing its job properly I assume.

    P.S. Pardon the quad-posts, can’t edit my previous. =)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    File does not exist: /var/www/html/forms

    Well … that’s not a WordPress thing. o.O

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘Server Migration Lead to Blank Page’ is closed to new replies.