• I created a custom database connection error page using the db-error.php template page. On this page I added some php which emails me when the page run (thus telling me when there is a DB connection error).

    Since then, I have been getting 10 – 40 email every day. We get over 8,000 hits a day, so our load isn’t that intense.

    On this email I include IP addresses, User Agent, Referrer, and where the user was trying to go.

    Two questions:

    1. Can these emails be false positives? I haven’t been able to confirm any of these connection issues in our logs. User agents are not bots.
    2. I just received these alerts from my server’s cron job, any idea why this would be happening.
    • A user tried to go to /wp-cron.php?doing_wp_cron=1338927969 and received our db error page.
    • User Agent: WordPress/3.3.2; https://blogname.com

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter gtim19

    (@gtim19)

    Also, the majority of the $_SERVER[‘REQUEST_URI’] data I receive in the email is for an image… i’m not sure if that makes any sense since this is a database connection error page.

Viewing 1 replies (of 1 total)
  • The topic ‘db-error page issues’ is closed to new replies.