{"id":44611,"date":"2013-11-10T17:29:27","date_gmt":"2013-11-10T17:29:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-wp-database-error\/"},"modified":"2014-09-04T12:23:37","modified_gmt":"2014-09-04T12:23:37","slug":"custom-wp-database-error","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/custom-wp-database-error\/","author":3248198,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"trunk","tested":"4.0.38","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Custom WP Database Error","header_author":"WP Cube","header_description":"","assets_banners_color":"333333","last_updated":"2014-09-04 12:23:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.wpcube.co.uk\/plugins\/custom-wp-database-error","header_plugin_uri":"http:\/\/www.wpcube.co.uk\/plugins\/custom-wp-database-error","header_author_uri":"http:\/\/www.wpcube.co.uk","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1038,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"979178","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"979178","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"802076","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"802076","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"802076","resolution":"2","location":"assets"}},"screenshots":{"1":"Display when plugin enabled and database connection cannot be established","2":"Settings screen"}},"plugin_section":[],"plugin_tags":[527,153,906,20796],"plugin_category":[59],"plugin_contributors":[77895,80675],"plugin_business_model":[],"class_list":["post-44611","plugin","type-plugin","status-closed","hentry","plugin_tags-custom","plugin_tags-database","plugin_tags-error","plugin_tags-wpdb","plugin_category-utilities-and-tools","plugin_contributors-n7studios","plugin_contributors-wpcube","plugin_committers-n7studios"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-wp-database-error_333333.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-wp-database-error\/assets\/screenshot-1.png?rev=802076","caption":"Display when plugin enabled and database connection cannot be established"},{"src":"https:\/\/ps.w.org\/custom-wp-database-error\/assets\/screenshot-2.png?rev=802076","caption":"Settings screen"}],"raw_content":"<!--section=description-->\n<p>Replaces the standard \"Error establishing database connection\" screen with a WordPress styled one when not in debug mode.<\/p>\n\n<p>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.<\/p>\n\n<h4>Support<\/h4>\n\n<p><em>Premium Plugins<\/em><\/p>\n\n<p>For many of our plugins on wordpress.org, Premium versions are available. These typically provide additional functionality,\nand come with one to one email support.<\/p>\n\n<p><em>Free Plugins<\/em><\/p>\n\n<p>We will do our best to provide support through the WordPress forums. However, please understand that this is a free plugin, \nso support will be limited. Please read this article on <a href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-properly-ask-for-wordpress-support-and-get-it\/\">how to properly ask for WordPress support and get it<\/a>.<\/p>\n\n<h4>WP Cube<\/h4>\n\n<p>We produce free and premium WordPress Plugins that supercharge your site, by increasing user engagement, boost site visitor numbers\nand keep your WordPress web sites secure.<\/p>\n\n<p>Find out more about us:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/www.wpcube.co.uk\">Our Plugins<\/a><\/li>\n<li><a href=\"http:\/\/www.facebook.com\/wpcube\">Facebook<\/a><\/li>\n<li><a href=\"http:\/\/twitter.com\/wp_cube\">Twitter<\/a><\/li>\n<li><a href=\"https:\/\/plus.google.com\/b\/110192203343779769233\/110192203343779769233\/posts?rel=author\">Google+<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>custom-wp-database-error<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Active the Custom WP Database Error plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin by going to the <code>DB Error Output<\/code> menu that appears in your admin menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I can't see the message I set when the database goes down<\/dt>\n<dd><p>If you have define(WP_DEBUG,true) set in your wp-config.php file, you'll see a WordPress styled detailed log. Production (live)\nweb sites should set WP_DEBUG to false, ensuring that no sensitive information is displayed.<\/p><\/dd>\n<dt>I still see the default \"Error establishing database connection\" message<\/dt>\n<dd><p>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<\/p><\/dd>\n<dt>If WordPress cannot connect to the database, how can this plugin even work?<\/dt>\n<dd><p>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\nwhen you defined the title and message to display. As this process does not rely on the WordPress database, it'll work.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix: Dashboard errors<\/li>\n<li>Fix: Changed Menu Icon<\/li>\n<li>Fix: WordPress 4.0 compatibility<\/li>\n<li>Fix: Removed unused admin CSS and JS<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added translation support and .pot file<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Replaces the standard &quot;Error establishing database connection&quot; screen with a WordPress styled one.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=44611"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/n7studios"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44611"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44611"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44611"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44611"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44611"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}