WordPress.org

Ready to get started?Download WordPress

Forums

Just migrated site to new server - get fatal error message (8 posts)

  1. matthisco
    Member
    Posted 1 year ago #

    Hi folks,

    I get the following page, can anyone please tell me how to go about fixing it? The wp_blog table is in the database structure.

    ------------
    Fatal Error
    If your blog does not display, please contact the owner of this site.

    If you are the owner of this site please check that MySQL is running properly and all tables are error free.

    Could Not Find Blog!
    Searched for xxx/ in xxx::wp_blogs table. Is that right?

    What do I do now?
    Read the bug report page. Some of the guidelines there may help you figure out what went wrong.
    If you're still stuck with this message, then check that your database contains the following tables:

    wp_blogs
    wp_users
    wp_usermeta
    wp_site
    wp_sitemeta
    wp_sitecategories

    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!

    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!

  2. Bas Schuiling
    Member
    Posted 1 year ago #

    Check your wp-config.php is the site is pointing to the correct database?

  3. matthisco
    Member
    Posted 1 year ago #

    Thanks for the reply.

    Yes I have.

    I've gone through the database and changed all instances of the old address.

    I've found this script http://interconnectit.com/124/search-and-replace-for-wordpress-databases/ referenced on this page http://codex.wordpress.org/Moving_WordPress

    Problem is when I try and browse to it, the php appears in the browser as text, as if the page is broken?

    Any help much appreciated.

    Thankyou

  4. Bas Schuiling
    Member
    Posted 1 year ago #

    PHP should never appear as text in a browser. So either wordpress somehow cannot connect to database, your new host has different settings to do certain things or somewhere else in the settings something goes wrong. Just check if all tables are imported correctly, wordpress has access to database and the files are executable by the webserver.

  5. matthisco
    Member
    Posted 1 year ago #

    Thanks for the reply

    I've made a few changes to the wp-config and database, and I just get part of the webpage loading now, see below:

    http://www1.benpct.nhs.uk/

    Do you have any ideas?

    I've renamed the plugins but still no joy.

    Any help very much appreciated.

    Thankyou

  6. matthisco
    Member
    Posted 1 year ago #

    Any ideas why the links on my site above don't work?

    They all seem broken.

    Thanks again

  7. Bas Schuiling
    Member
    Posted 1 year ago #

    I see this: " ID, $key, $single); ?>" That is clearly an PHP error in your templates where you close the PHP section too early so the rest is treated as normal text

    Also the permalinks don't seem to work. Try in WordPress admin under settings switching the permalinks to default and retry. If it work then and you want to put back the nicer links make sure wordpress can write the .htaccess file.

  8. matthisco
    Member
    Posted 1 year ago #

    Thanks very much for your reply, really appreciate it.

    I haven't changed any of the templates though?! they work fine on the original site....

    All I've changed is disabled one widget plugin that was breaking the page.

    I can't access wp-admin, I've tried various fixes but keep getting the WSOD

    I'm well and truly stuck!

    Any more advice/ help very much appreciated.

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic