• Resolved offisapup

    (@offisapup)


    Getting an error when trying to send a test email:

    Error establishing a 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 example.org. Searched for table wp_blogs in database wordpress. Is that right?

    What do I do now? Read the Debugging a WordPress Network article. Some of the suggestions 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_blogmeta
    wp_signups
    wp_site
    wp_sitemeta
    wp_registration_log

    Running a multisite network, with sites under a subpath: example.org/sites/…. So, yes indeed, there is no site on the url example.org …

    • All the tables mentioned exist, and have the expected contents
    • Everything looks great in all the sites (10+)
    • Running behind a reverse proxy
    • Running the very latest (1.0.1) version of Check & Log Email
    • Not running any other plugins that do email (in fact, very few plugins at all …)

    Not a critical error, as I can do the check outside of WP, but a show-stopper for the plugin in our installation …

    cheers /offisapup

    PS. sitename is obfuscated … DS

    • This topic was modified 4 years, 3 months ago by offisapup.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello! I tried to replicate your problem on my end but it seems to work fine. Can you look in your error log to see if there are other errors besides the one with the db? Also, can you give me a list with your installed plugins to see if there is an incompatibility problem? Thank you!

    Thread Starter offisapup

    (@offisapup)

    No errors in the log.

    [root@example sites]# wp plugin list
    +-------------------------+----------------+--------+---------+
    | name                    | status         | update | version |
    +-------------------------+----------------+--------+---------+
    | akismet                 | active-network | none   | 4.1.7   |
    | check-email             | active         | none   | 1.0.1   |
    | cookie-law-info         | active-network | none   | 1.9.4   |
    | wp-security-audit-log   | active-network | none   | 4.1.5.1 |
    +-------------------------+----------------+--------+---------+
    • This reply was modified 4 years, 3 months ago by offisapup.

    I’m sorry for the inconvenience this caused you, I tried to reproduce the issue you reported, but did not manage to do this. Could you give us any other information that could help us to pursue this? Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“No db connection”? on multisite network in subpath’ is closed to new replies.