Title: DB Error Customizer &#8211; Free
Author: KenazChan
Published: <strong>2016 年 3 月 15 日</strong>
Last modified: 2017 年 1 月 13 日

---

搜索插件

![](https://ps.w.org/db-error-customizer/assets/banner-772x250.png?rev=1371180)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/db-error-customizer/assets/icon-256x256.png?rev=1574150)

# DB Error Customizer – Free

 作者：[KenazChan](https://profiles.wordpress.org/kenazchan/)

[下载](https://downloads.wordpress.org/plugin/db-error-customizer.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/db-error-customizer/#description)
 * [评价](https://cn.wordpress.org/plugins/db-error-customizer/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/db-error-customizer/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/db-error-customizer/#developers)

 [支持](https://wordpress.org/support/plugin/db-error-customizer/)

## 描述

Database not responding is a very common issue in hosting a WordPress website. Instead
of showing a blank page with an error message **Error establishing a database connection**,
DB Error Customizer helps you to handle it professionally. Not only you can easily
customize a beautifully designed database error page using our predefined templates,
it tells your visitors that everything is under control.

> 
> ### Premium Support
> 
> Our team does not always provide active support for the DB Error Customizer plugin
> on the WordPress.org. One-on-one email support is available to people who bought
> the [DB Error Customizer Premium](http://dec.centil.co) plugin only.
> Note that the DB Error Customizer Premium plugin has many extra features too, 
> including beautifully designed templates, animation effects and auto email alert.
> It might be well worth your investment!

Below are the features of DB Error Customizer:

 * Comes with basic templates and allows you to customize:
    - Main message to show your visitor, instead of standard error
    - Sub message below main message
    - Font size adjustment
    - Font color adjustment
    - Background color
 * Preview customized output before saving
 * Inform search engine that the error page is temporarily (HTTP 500 Internal Server
   Error header) and it should not cache it

### Customize DB Error Page

After enabling DB Error Customizer, you can access it at **Settings->DB Error Customizer**.
Below is description of each feature:

 * **Template:** Drop down option for you to select a predefined templates. The 
   selected template will unlock different other options. (Free version only supports
   basic template)
 * **Background Color:** Change background color via color picker.
 * **Font Color:** Change main/sub title color via color picker.
 * **Main Title:** The main title of database error page.
 * **Main Title Size:** The size of main title.
 * **Sub Title:** The sub title of database error page.
 * **Sub Title Size:** The size of sub title.

**Preview:** When you press Preview button at the bottom of dashboard, a message
box will apear at the top of dashboard with message Preview page generated successfully!
Click Preview to proceed. You can press the Preview link to launch the preview page.

**Setup/Update DB Error Page:** When you press Setup/Update DB Error Page button
at the bottom of dashboard, the plugin will save your settings and install this 
customized database error page to your WordPress. The page will automatically show
up to visitor when your website’s database does not respond.

### Support

Please refer the developer’s site at [Centil Technology](http://centil.co). If you
would like to provide feedback/contact or just drop us an email, please feel free
to contact us at info[at]centil[dot]co

## 屏幕截图

 * [[
 * Basic template (Background/font color, title and sub-title are fully customizable)

## 安装

Please refer the official [WordPress Plugin Installation Guide](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
to proceed. After you’ve installed and enabled DB Error Customizer, you shall goto**
Settings->DB Error Customizer** to customize and setup the error page.

_Note: If you installed an older/premium version earlier, please disable the plugin
and remove it before installing a newer version._

## 常见问题

  How can I check if DB Error Customizer can work on my server?

There is a feature to allow user to test their server compatibility. You can run
the test by pressing Check Compatibility button at the admin page.

  There is an error when I try to preview or setup database error page

The error that you are seeing most likely is due to DB Error Customizer does not
has write/read access to certain required file(s). A quick workaround is to temporarily
[change the reported file permission](https://codex.wordpress.org/Changing_File_Permissions)
to 777, proceed with DB Error Customizer setup and once you are done, using similar
method to revert the file permission to its original state.

  How can I test if the customized error page is working on my live server?

After error page setup, you can test it by:

 * Force stop your database service (Requires root permission). Please remember 
   to restart database service once you are done.
 * Manually set invalid database configuration in your wp-config.php. Please remember
   to revert to original setting once you are done.

## 评价

![](https://secure.gravatar.com/avatar/1f0adcf868b035a9622896eb1c370de0a5e1ec44c9e38cf42a2a291c1237f374?
s=60&d=retro&r=g)

### 󠀁[This is a handy plugin to save my day](https://wordpress.org/support/topic/this-is-a-handy-plugin-to-save-my-day/)󠁿

 [KenazChan](https://profiles.wordpress.org/kenazchan/) 2016 年 9 月 3 日

It is a useful and high quality plugin. Although the free version does not provide
full features, however it is good enough to start.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/db-error-customizer/reviews/)

## 贡献者及开发者

「DB Error Customizer – Free」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ KenazChan ](https://profiles.wordpress.org/kenazchan/)

[帮助将「DB Error Customizer – Free」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/db-error-customizer)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/db-error-customizer/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/db-error-customizer/)，或通过[RSS](https://plugins.trac.wordpress.org/log/db-error-customizer/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/db-error-customizer/)。

## 更新日志

#### 2.0

 * Major refactoring and bug fixes
 * Tested with WordPress 4.7.1

#### 1.3

 * Tested with WordPress 4.5.3

#### 1.2

 * Enhanced plugin to better handle security.

#### 1.1

 * Enhanced plugin to better generate file in WordPress core system.

#### 1.0

 * First complete version

## 额外信息

 *  版本 **2.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/db-error-customizer/)
 * 标签
 * [alert](https://cn.wordpress.org/plugins/tags/alert/)[customization](https://cn.wordpress.org/plugins/tags/customization/)
   [database error](https://cn.wordpress.org/plugins/tags/database-error/)
 *  [高级视图](https://cn.wordpress.org/plugins/db-error-customizer/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/db-error-customizer/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/db-error-customizer/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/db-error-customizer/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/db-error-customizer/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/db-error-customizer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/db-error-customizer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/db-error-customizer/reviews/)

## 贡献者

 *   [ KenazChan ](https://profiles.wordpress.org/kenazchan/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/db-error-customizer/)