WordPress.org

Ready to get started?Download WordPress

Forums

change the error page (4 posts)

  1. weeble
    Member
    Posted 9 years ago #

    When my host's MySQL db is down, I get a page that says there's a trouble connecting to the db.

    How can I change that page ?

  2. moshu
    Member
    Posted 9 years ago #

    1. If it happens so often that you have to think about changing the message - it's time to look for a decent host.
    2. The message comes from /wp-includes/wp-db.php file.

  3. weeble
    Member
    Posted 9 years ago #

    Is it this part..? If so, how can i confgure the $message ?

    <body>
    <h1 id="logo"><img alt="WordPress" src="http://static.wordpress.org/logo.png" /></h1>
    HEAD;
    echo $message;
    echo "</body></html>";

  4. moshu
    Member
    Posted 9 years ago #

    What is the message you want to change? At the beginning of that file you can see ALL the error messages.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.