• Hi my domain keeps redirecting to /wp-admin/install.php instead of showing the real webpages. My hosting company just performs a server migration. It looks like they forget to move the database after moving the WP files. Now that they said they have moved the DB, the page still goes to /wp-admin/install.php. Any idea of how to fix this? perhaps rebooting connection to the DB somehow? I don’t have privilege to access logs.

    I have temporarily redirected 604cleaner.com (LIVE) to another URL. I am using mysoutheastasia.com (TEST) instead.

    I investigated to WP code level – and hit dead end on the following code: Looks like WP doesn’t recognize if the blog has been installed.

    <function is_blog_installed() {
    global $wpdb;

    // Check cache first. If options table goes away and we have true cached, oh well.
    if ( wp_cache_get(‘is_blog_installed’) )
    return true;

    $suppress = $wpdb->suppress_errors();
    $installed = $wpdb->get_var( “SELECT option_value FROM $wpdb->options WHERE option_name = ‘siteurl'” );
    $wpdb->suppress_errors($suppress);

    $installed = !empty( $installed ) ? true : false;
    wp_cache_set(‘is_blog_installed’, $installed);

    return $installed;
    }>

    Here’s what the hosting company says:

    I have noticed that your database ‘604cleaner_DB’ is not moved to the new server. I have run our backend tool to move your database. Please check the website after couple of hours.

    customers site is loading the wordpress install page /wp-admin/install.php instead of the homepage after migration.
    Diagnosis:

    database appears to have moved over to the new platform and the tables are in it.

    Customers original domain name for the site was 604cleaner.com he pointed that domain name to another url and instead pointed mysoutheastasia.com to the /604cleaner

    I tried changing the site URL in the wp-options table to the new domain and that did not have any effect on the site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • run a repair on the wp_options table in the DB

    Thread Starter 604cleaner

    (@604cleaner)

    It didn’t work. I’d have to backup and restore the database tables. But now the problem is the uploaded images don’t show up. I can upload and the name of the images show up, but the images cannot be seen. What is the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress keeps showing /wp-admin/install.php after migration.’ is closed to new replies.