=== Custom WP Database Error ===
Contributors: n7studios,wpcube
Donate link: http://www.wpcube.co.uk/plugins/custom-wp-database-error
Tags: custom,database,error,wpdb
Requires at least: 3.6
Tested up to: 4.0
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Replaces the standard "Error establishing database connection" screen with a WordPress styled one.
== Description ==
Replaces the standard "Error establishing database connection" screen with a WordPress styled one when not in debug mode.
On activation, copies a db-error.php file to your wp-content directory, and provides options for setting the title and message to be displayed when WordPress cannot connect to your database.
= Support =
*Premium Plugins*
For many of our plugins on wordpress.org, Premium versions are available. These typically provide additional functionality,
and come with one to one email support.
*Free Plugins*
We will do our best to provide support through the WordPress forums. However, please understand that this is a free plugin,
so support will be limited. Please read this article on how to properly ask for WordPress support and get it.
= WP Cube =
We produce free and premium WordPress Plugins that supercharge your site, by increasing user engagement, boost site visitor numbers
and keep your WordPress web sites secure.
Find out more about us:
* Our Plugins
* Facebook
* Twitter
* Google+
== Installation ==
1. Upload the `custom-wp-database-error` folder to the `/wp-content/plugins/` directory
2. Active the Custom WP Database Error plugin through the 'Plugins' menu in WordPress
3. Configure the plugin by going to the `DB Error Output` menu that appears in your admin menu
== Frequently Asked Questions ==
= I can't see the message I set when the database goes down =
If you have define(WP_DEBUG,true) set in your wp-config.php file, you'll see a WordPress styled detailed log. Production (live)
web sites should set WP_DEBUG to false, ensuring that no sensitive information is displayed.
= I still see the default "Error establishing database connection" message =
Please check that the db-error.php file exists in your wp-content folder. If it doesn't, manually copy it from wp-content/plugins/custom-wp-database-error
= If WordPress cannot connect to the database, how can this plugin even work? =
The plugin copies a single db-error.php file to the wp-content folder on activation. In turn, db-error.php reads a configuration file stored on your server
when you defined the title and message to display. As this process does not rely on the WordPress database, it'll work.
== Screenshots ==
1. Display when plugin enabled and database connection cannot be established
2. Settings screen
== Changelog ==
= 1.0.2 =
* Fix: Dashboard errors
* Fix: Changed Menu Icon
* Fix: WordPress 4.0 compatibility
* Fix: Removed unused admin CSS and JS
= 1.0.1 =
* Added translation support and .pot file
= 1.0 =
* First release.
== Upgrade Notice ==