• 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:
    https://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 https://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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Furthermore, when I tried to course correct and change the link to https://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.

    Thread Starter bryan.guffey

    (@bryanguffey)

    Thanks, but any thought to the solution?

    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?

    Thread Starter bryan.guffey

    (@bryanguffey)

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

    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?

    Thread Starter bryan.guffey

    (@bryanguffey)

    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?

    Thread Starter bryan.guffey

    (@bryanguffey)

    I can see wp_blogs no problem.

    Thread Starter bryan.guffey

    (@bryanguffey)

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘upgraded to 3.1, Network admin does not load.’ is closed to new replies.