WordPress.org

Ready to get started?Download WordPress

Forums

upgraded to 3.1, Network admin does not load. (9 posts)

  1. bryan.guffey
    Member
    Posted 3 years ago #

    Okayu, so I upgraded to 3.1 from 3.0.4, and now when I try to access netowrk admin to upgrade the rest of my blogs, I get the following error:

    Error establishing database connection

    If your site does not display, please contact the owner of this network. If you are the owner of this network please check that MySQL is running properly and all tables are error free.

    Could not find site sites.dlp.org/sites. Searched for table wp_blogs in database wordpress. 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_users
    wp_usermeta
    wp_blogs
    wp_signups
    wp_site
    wp_sitemeta
    wp_registration_log
    wp_blog_versions

    The page which WP is trying to go to when I recceive that error is:
    http://sites.dlp.org/sites/wp-admin/network/upgrade.php

    Now, I've seen this before, because we run WP not in the root level of our server, i.e. sites.dlp.org is the server, and then the folder/sites/ is where the blogs live. So an appropriate blog will have sites.dlp.org/sites/blogname/wp-admin.

    Furthermore, when I tried to course correct and change the link to http://sites.dlp.org/sites/blognamewp-admin/network/upgrade.php, I get an HTTP 500 internal server error.

    I'm not sure what caused this. Any help would be so appreciated.

  2. Furthermore, when I tried to course correct and change the link to http://sites.dlp.org/sites/blognamewp-admin/network/upgrade.php, I get an HTTP 500 internal server error.

    yeah, not surprised that didn't work. Network admin is only available from the main site.

    It looks like it's looking up your foldername as a blog name.

    Crap.

  3. bryan.guffey
    Member
    Posted 3 years ago #

    Thanks, but any thought to the solution?

  4. Sorry, went off for a short discussion.

    Both myself and at least one core dev has local installs in a subfolder in subdirectory format, and we don;t get this.

    Can you disable all your plugins - even the ones in mu-plugins - to rule them out?

  5. bryan.guffey
    Member
    Posted 3 years ago #

    Sure. Should I just disable them form the console, or move them into a different folder?

  6. Brian Layman
    Member
    Posted 3 years ago #

    Nice, I like the way this error has been improved in 3.1. This error occurs when WP opens the database and looks for the standard tables. In 3.0 it just gives the "Error establishing database connection" with no explanation of which table it was looking for. In 3.1 it looks like it tells you. For some reason it can't find wp_blogs.

    Let's start by eliminating the obvious. Are you sure that your database is in decent shape and that the credentials for accessing it haven't changed? Can you use phpmyadmin to open the database named "wordpress" with the user specified in wp-config.php and see wp_blogs? The "wp_" prefix is correct right?

  7. bryan.guffey
    Member
    Posted 3 years ago #

    All right, I'll look at this stuff this evening. I can;'t do it this moment, as I don't want to take down the functionality of our public facing sites. if this does not solve the problem, any other suggestions?

  8. bryan.guffey
    Member
    Posted 3 years ago #

    I can see wp_blogs no problem.

  9. bryan.guffey
    Member
    Posted 3 years ago #

    I disabled all the plugins. I'm still having the same problem. Helpp!!!

Topic Closed

This topic has been closed to new replies.

About this Topic