How to Customize, Modify or Change WordPress Database Connection Error Page Bagaimana Customize, Ubah atau Ubah Wordpress Database Error Koneksi Halaman

When Kapan WordPress Wordpress , a popular blog publishing platform built in PHP and uses MySQL database, cannot connect or having problem connecting to the database (such as when database is down), or the MySQL server has too many connections exceeding maximum connection allowed (especially when your post or article is been dugg on Digg.com) and rejects or denies new incoming connections, WordPress will display a default “error establishing database connection” error message page. Yang terkenal blog publishing platform dibangun dalam PHP dan menggunakan MySQL database, tidak bisa menyambung atau memiliki masalah terhubung ke database (seperti ketika database yang bawah), atau server MySQL memiliki terlalu banyak koneksi melebihi maksimum koneksi diizinkan (khususnya bila Anda posting atau artikel yang telah di Digg.com dugg) dan menolak atau menyangkal sambungan baru masuk, Wordpress akan menampilkan default "Kesalahan membuat sambungan database" pesan kesalahan halaman. However, the WordPress error page, some is shown below, is not visitor friendly or user friendly, and worse, the default database error page also reveals the SQL server address and name. Namun, Wordpress kesalahan halaman, beberapa ditunjukkan di bawah ini, tidak ramah pengunjung atau user friendly, dan lebih buruk lagi, standar database error halaman juga menguak SQL server nama dan alamat.

Can't select database Tidak dapat memilih basis data

We were able to connect to the database server (which means your username and password is okay) but not able to select the localhost database. Kami tidak dapat terhubung ke database server (yang berarti username dan password is okay) tetapi tidak dapat memilih localhost database.

* Are you sure it exists? * Apakah Anda yakin itu ada?
* On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. * Pada beberapa sistem nama database yang diawali dengan nama pengguna, sehingga akan menjadi seperti username_wordpress. Could that be the problem? Could that be the problem?

If you don't know how to setup a database you should contact your host. If all else fails you may find help at the WordPress Support Forums. Jika semuanya gagal lagi Anda dapat menemukan bantuan di Wordpress Support Forum.

Error establishing a database connection Kesalahan membuat sambungan database

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. Ini berarti baik username dan password informasi dalam wp-config.php file yang salah atau kami tidak dapat menghubungi basis data di localhost. This could mean your host's database server is down. Hal ini bisa berarti host's database server bawah.

Are you sure you have the correct username and password? Apakah Anda yakin benar memiliki username dan password?
Are you sure that you have typed the correct hostname? Apakah Anda yakin bahwa Anda telah mengetik nama host yang benar?
Are you sure that the database server is running? Apakah Anda yakin bahwa database server berjalan?

These default Wordpress database error pages are more meant for website administrators or webmasters rather than the public visitors. Ini standar Wordpress database error halaman lebih dimaksudkan untuk webmaster atau administrator situs daripada masyarakat pengunjung. However, you can change the error page to another different error page by modifying or altering wordings and text in the error page by customizing the wp-db.php file located in wp-include directory. Namun, Anda dapat mengubah kesalahan halaman lain yang berbeda untuk halaman kesalahan oleh memodifikasi atau mengubah wordings dan teks di halaman kesalahan oleh yang mengubah wp-db.php file terletak di direktori wp-include. Here's how you can hack the Wordpress default error message. Berikut ini cara hack di Wordpress standar pesan kesalahan.

In wp-db.php (the file that handles the database connections that WordPress makes), you can see lines like “DB Constructor – connects to the server and selects a database” and “Select a DB (if another one needs to be selected)”. Di wp-db.php (file yang menangani koneksi database yang membuat Wordpress), Anda dapat melihat baris seperti "DB Pembuat - menyambung ke server dan memilih database" dan "Pilih DB (jika lain harus dipilih ) ". That's where you can alter the text and word in the error page. Yang dimana anda dapat mengubah teks dan kata di halaman kesalahan. Just look carefully after the line, you will see exactly the some text and message as appeared on the database error page. Hanya hati-hati setelah melihat baris, Anda akan melihat sama persis dengan teks dan pesan muncul sebagai kesalahan data pada halaman. Edit them to your liking. Edit mereka yang Anda sukai.

Wordpress jaminan Fungsi
Beside, from line 312 onwards is the header and footer output for the HTML of database connection error page, contains inside function named “bail”, which specifies things like the title of “WordPress: Error”. Disamping, dari 312 baris dan seterusnya adalah header dan footer output HTML untuk sambungan data dari kesalahan halaman, di dalamnya berisi fungsi bernama "jaminan", yang menentukan hal-hal seperti pada judul "Wordpress: Error". The “bail” function is called whenever a database connection error is encountered, and does what it's name said – bails out the error and displays an error message instead to notify the users. The "jaminan" fungsi dipanggil ketika koneksi database yang dihadapi adalah kesalahan, dan apa nama kata - bails dari kesalahan dan menampilkan pesan kesalahan, bukan untuk memberitahukan pengguna. You can change them if you like too. Anda dapat mengubahnya jika Anda ingin terlalu.

Please take a backup of wp-db.php file before you customize or alter it. Silakan mengambil cadangan dari wp-db.php file sebelum Anda menyesuaikan atau merubah itu. If you break the code, your website visitors and surfers will get the PHP error instead. Jika Anda melanggar kode ini, pengunjung situs Web Anda dan akan mendapatkan Surfers PHP, bukan kesalahan. Beside, be careful that when you upgrade your WordPress. Disamping, yang berhati-hati ketika anda meng-upgrade Wordpress Anda. If you overwrite all files when upgrade the WordPress, the wp-db.php will be replaced back with the original unchanged version too, and you have to edit the file again. Jika Anda menimpa semua file ketika meningkatkan Wordpress, yang wp-db.php kembali akan diganti dengan versi yang asli tidak berubah juga, dan Anda harus mengedit file lagi. Else, backup the wp-db.php before upgrading your WordPress and restore it after upgrading is done. Lain, cadangan yang wp-db.php sebelum Anda meng-upgrade Wordpress dan mengembalikannya setelah upgrade selesai.

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman yang diterjemahkan mesin dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Mesin terjemahan mungkin sulit dimengerti. Please refer to Silakan merujuk ke original English article artikel asli Inggris whenever possible. bila memungkinkan.


One Response to “How to Customize, Modify or Change WordPress Database Connection Error Page” Satu Respon untuk "Bagaimana Customize, Ubah atau Ubah Wordpress Database Error Koneksi Halaman"

  1. Zane Zane
    March 21st, 2009 23:51 21 Mar 2009 23:51
    1 1

    Thanks! Terima kasih!
    You Saved Me Here! Anda Tersimpan Me Here!

Leave a Reply Meninggalkan Balas

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Anda dapat menggunakan tag ini: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan tentang komentar terbaru diposting, berlangganan My Digital Life Comments RSS feed Saya Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email harian digest.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

wordpress database connection wordpress koneksi database - -- wordpress change database wordpress mengubah database - -- change wordpress database mengubah wordpress database - -- change database wordpress mengubah database wordpress - -- wordpress database connection file wordpress koneksi database file - -- wordpress connect to database wordpress koneksi ke database - -- Connection Error to NDO DataBase ! Kesalahan koneksi ke database nApakah! - -- Connection Error to NDO DataBase - -- error establishing a database connection wordpress mu Kesalahan membuat sambungan database wordpress mu - -- wordpress database password wordpress database password - -- wordpress changing database wordpress mengubah database - -- how to change wordpress database cara mengubah wordpress database - -- change wordpress database password mengubah wordpress database password - -- changing wordpress database mengubah wordpress database - -- wordpress change database password wordpress mengubah data sandi - -- wordpress mu Error establishing a database connection wordpress mu Kesalahan membuat sambungan database - -- wordpress database change wordpress database berubah - -- change database in wordpress perubahan data di wordpress - -- connect to wordpress database koneksi ke database wordpress - -- wordpress database connect wordpress database menyambung - -- wordpress db connection wordpress db sambungan - -- wordpress db connection file wordpress sambungan file db - -- connecting to wordpress database menghubungkan ke database wordpress - -- Connection Error to NDO DataBase ! Kesalahan koneksi ke database nApakah! - -- wordpress database password change wordpress database mengubah sandi - -- wordpress error establishing a database connection wordpress kesalahan membuat database sambungan - -- change wordpress db mengubah wordpress db - -- database connection wordpress koneksi database wordpress - -- connect wordpress database wordpress koneksi database - -- changing database in wordpress mengubah data di wordpress - -- wordpress database connection details wordpress database rincian sambungan - -- wordpress db connect wordpress db menyambung - -- 2Pac - Changes oversat til dansk 2pac - Perubahan oversat til Dansk - -- how to change database in wordpress cara untuk mengubah data di wordpress - -- Connection Error to NDO DataBase Kesalahan koneksi ke nApakah Database - -- We were able to connect to the database server (which means your username and password is okay) but not able to select the Kami tidak dapat terhubung ke database server (yang berarti username dan password is okay) tetapi tidak dapat memilih - -- changed password for database wordpress berubah password untuk database wordpress - -- wordpress connect database wordpress koneksi database - -- change wordpress database connection mengubah wordpress koneksi database - -- ndo database nApakah database - -- database connection in wordpress koneksi data di wordpress - -- wp db connections serving pages wp db melayani sambungan halaman - -- can't select database wordpress tidak dapat memilih database wordpress - -- where does wordpress connect to database bagaimana koneksi ke database wordpress - -- change database info wordpress mengubah database info wordpress - -- wordpress password database wordpress password database - -- edit database wordpress mengedit database wordpress - -- change wordpress error messages wordpress mengubah pesan kesalahan - -- change db wordpress mengubah db wordpress - -- db connection file in wordpress db koneksi file di wordpress - --