Support » Fixing WordPress » Migrating from localhost to server causes blank page and doesn't allow login.

  • Resolved korkki62

    (@korkki62)


    I’m trying to migrate my site from localhost (MAMP) to server.

    I’ve carefully followed the steps on this article.

    The problem is that when I’ve done all the things in “Step 6” the domain
    I’m using is showing just a blank page. First it had the “Error Establishing Database Connection” message but it disappeared after I changed the details to wp-config.php as suggested. I can access the admin login (…/wp-admin), but
    it doesn’t accept my username and pw (I’ve tried both the ones I used with MAMP + the new ones I created at my web host’s MySQL-database).

    I also added the “define(‘WP_ALLOW_REPAIR’, true);”-line to wp-config.php and tried
    to repair the tables but it gave me these error messages:

    wp_users: Table ‘upsuomif_wordpress.wp_users’ doesn’t exist
    wp_usermeta: Table ‘upsuomif_wordpress.wp_usermeta’ doesn’t exist
    wp_posts: Table ‘upsuomif_wordpress.wp_posts’ doesn’t exist
    wp_postmeta: Table ‘upsuomif_wordpress.wp_postmeta’ doesn’t exist
    wp_terms: Table ‘upsuomif_wordpress.wp_terms’ doesn’t exist
    wp_term_taxonomy: Table ‘upsuomif_wordpress.wp_term_taxonomy’ doesn’t exist
    wp_term_relationships: Table ‘upsuomif_wordpress.wp_term_relationships’ doesn’t exist

    I’d really appreciate help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’m trying to migrate my site from localhost (MAMP) to server.

    Have you looked at this article?

    http://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs

    Going from MAMP to a server is the same thing and those steps really work well. But it is tricky and you can’t miss any steps or you get the problem above. 😉

    Thread Starter korkki62

    (@korkki62)

    Hi Jan and thanks for the quick reply.

    I don’t know if you looked at the article I mentioned but it has the same information
    as the article you provided.

    I followed all the steps carefully and these problems still occur.

    Thread Starter korkki62

    (@korkki62)

    It seems like the problem is with the database.

    When looking at it in MAMP’s phpMyAdmin it has all the tables listed but when I export it from MAMP and import it to the public server the database shows only the bolded tables.

    wp_commentmeta
    wp_comments
    wp_customBack
    wp_links
    wp_options

    wp_postmeta
    wp_posts
    wp_terms
    wp_term_relationships
    wp_term_taxonomy
    wp_usermeta
    wp_users

    Does this help anybody to solve the problem?

    Thread Starter korkki62

    (@korkki62)

    Got it working.

    Just needed to export the database in two separate files for some reason.

    Thread Starter korkki62

    (@korkki62)

    Solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Migrating from localhost to server causes blank page and doesn't allow login.’ is closed to new replies.