How to Customize, Modify or Change WordPress Database Connection Error Page अनुकूलित करें, संशोधित करें या बदलें WordPress डाटाबेस कनेक्शन त्रुटि पेज में कैसे

When कब 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. , एक लोकप्रिय ब्लॉग प्रकाशन PHP में निर्मित मंच और MySQL डाटाबेस का उपयोग करता है, या कनेक्ट नहीं डेटाबेस को जोड़ने की समस्या होने सकते हैं (जैसे की अनुमति दी जब डेटाबेस नीचे), या MySQL सर्वर है बहुत अधिकतम कनेक्शन से अधिक कनेक्शन है (विशेष रूप से जब तुम्हारे या पोस्ट लेख है Digg.com पर dugg गया है) और खारिज या नए आने वाले कनेक्शन से इनकार करते हैं, WordPress एक डिफ़ॉल्ट प्रदर्शित करेगा त्रुटि "डेटाबेस कनेक्शन की स्थापना" त्रुटि संदेश पृष्ठ. 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. हालाँकि, WordPress त्रुटि पृष्ठ, कुछ नीचे दिखाया गया, मित्र या उपयोगकर्ता के अनुकूल आगंतुक, और भी बुरा नहीं है, डिफ़ॉल्ट डेटाबेस त्रुटि पृष्ठ का भी पता चलता है एसक्यूएल सर्वर पते और नाम है.

Can't select database डेटाबेस का चयन नहीं कर सकते

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. हमें डेटाबेस सर्वर से कनेक्ट करने में सक्षम थे (जो अपने उपयोगकर्ता नाम और पासवर्ड का मतलब है, ठीक है) पर है पा लोकलहोस्ट डेटाबेस का चयन नहीं.

* Are you sure it exists? * क्या आप सुनिश्चित हैं कि यह अस्तित्व है?
* On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. * कुछ सिस्टम को अपने डेटाबेस का नाम आपके उपयोगकर्ता नाम के साथ prefixed है पर है, तो यह username_wordpress की तरह होगा. 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. अगर सब विफल रहता है और तुम WordPress सहयोग मंच में मदद मिल सकती है.

Error establishing a database connection एक डाटाबेस संबंध स्थापित करने में त्रुटि

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. यह या तो अपने WP में है कि उपयोगकर्ता नाम और पासवर्ड की जानकारी-config.php फाइल का मतलब है या गलत हम डेटाबेस सर्वर लोकलहोस्ट में नहीं संपर्क कर सकते है. This could mean your host's database server is down. यह अर्थ हो सकता है आपके मेजबान डाटाबेस सर्वर के नीचे है.

Are you sure you have the correct username and password? क्या आप सुनिश्चित हैं कि आपने सही उपयोगकर्ता नाम और पासवर्ड है?
Are you sure that you have typed the correct hostname? क्या आप सुनिश्चित हैं कि आप सही होस्टनाम टाइप है?
Are you sure that the database server is running? क्या तुम्हें यकीन है कि डाटाबेस सर्वर चल रहा है?

These default Wordpress database error pages are more meant for website administrators or webmasters rather than the public visitors. ये डिफ़ॉल्ट WordPress डेटाबेस त्रुटि पृष्ठों और प्रशासकों की वेबसाइट या वेबमास्टर्स के बजाय सार्वजनिक आगंतुकों के लिए हैं. 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. लेकिन, आप को संशोधित करने या त्रुटि पृष्ठ में wordings और पाठ बदलने WP-db.php फ़ाइल WP में स्थित अनुरूपण द्वारा एक अलग त्रुटि पृष्ठ त्रुटि पेज बदल सकते हैं निर्देशिका में शामिल हैं. Here's how you can hack the Wordpress default error message. यहाँ आप WordPress डिफ़ॉल्ट त्रुटि संदेश कैसे हैक कर सकते हैं.

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)”. WP में (फ़ाइल db.php कि डेटाबेस कनेक्शन है कि WordPress हैंडल करता है), तो आपको "DB निर्माता - लाइन की तरह देख सकते हैं सर्वर से जोड़ता है और और एक डेटाबेस का चयन" "चुनें DB (अगर एक दूसरे की जरूरत को चुना है ) ". That's where you can alter the text and word in the error page. कि तुम त्रुटि पृष्ठ में जहां पाठ और शब्द को बदल सकते हैं. Just look carefully after the line, you will see exactly the some text and message as appeared on the database error page. बाद लाइन बस ध्यान से देखो, तुम देखना वास्तव में कुछ पाठ और संदेश के रूप में डेटाबेस त्रुटि पृष्ठ पर प्रकट हुआ. Edit them to your liking. उन्हें अपनी पसंद को संपादित करें.

WordPress जमानत फंक्शन
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”. के पास हैं, रेखा से 312 के बाद शीर्ष और डेटाबेस कनेक्शन त्रुटि पेज के HTML पाद लेख के लिए उत्पादन है, अंदर "जमानत" नाम है, जो 'के WordPress शीर्षक: त्रुटि की तरह बातें निर्दिष्ट कार्य ". 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. जमानत "समारोह" जब भी एक डेटाबेस कनेक्शन त्रुटि का सामना करना पड़ा है कहा जाता है, और है क्या नाम है ने कहा - त्रुटि बाहर bails और एक त्रुटि संदेश के बजाय उपयोगकर्ताओं को सूचित करने के प्रदर्शित करता है. You can change them if you like too. तुम उन्हें बदल अगर आप भी ऐसा कर सकते हैं.

Please take a backup of wp-db.php file before you customize or alter it. कृपया WP का बैकअप लेने के db.php फ़ाइल से पहले आप को अनुकूलित या इसे बदल. If you break the code, your website visitors and surfers will get the PHP error instead. यदि आप कोड को तोड़ने, आपकी वेबसाइट पर आगंतुकों और surfers PHP त्रुटि जगह मिल जाएगी. Beside, be careful that when you upgrade your WordPress. बगल में, सावधान है कि आप अपने WordPress जब उन्नयन होगा. 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. यदि आप सभी फाइलें जब WordPress, WP-db.php उन्नयन अधिलेखित मूल अपरिवर्तित संस्करण के साथ वापस जाएगा भी स्थान पर, और आप फिर से फाइल को संपादित किया है. Else, backup the wp-db.php before upgrading your WordPress and restore it after upgrading is done. वरना, अपने WordPress उन्नत और उन्नयन के बाद बहाल करने से पहले WP-db.php बैकअप किया जाता है.

IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.


One Response to “How to Customize, Modify or Change WordPress Database Connection Error Page” एक उत्तर के लिए "कैसे अनुकूलित करें, संशोधित करें या बदलें WordPress डाटाबेस कनेक्शन त्रुटि पृष्ठ पर"

  1. Zane Zane
    March 21st, 2009 23:51 21 मार्च 2009 23:51
    1 1

    Thanks! धन्यवाद!
    You Saved Me Here! आप सहेजे गए मुझे यहाँ!

Leave a Reply एक उत्तर दें छोड़ दो

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> आप इन टैग्स: <a href="" उपयोग title=""> <abbr title=""> <acronym कर सकते हैं <blockquote title=""> <b> cite=""> <cite> <code> <डेल DateTime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. टिप्पणी की सुविधा है विकलांग गया है की सदस्यता लें. To receive notification of latest comments posted, subscribe to सदस्यता के लिए नई टिप्पणियों की सूचना प्राप्त पोस्ट किया है, My Digital Life Comments RSS feed मेरे डिजिटल जीवन टिप्पणियाँ आरएसएस फ़ीड or या register to receive रजिस्टर प्राप्त करने के लिए new comments in daily email digest. दैनिक ईमेल में नई टिप्पणियाँ डाइजेस्ट.
Custom Search

New Articles नए लेख

Incoming Search Terms for the Article के लिए खोजें शर्तें आने अनुच्छेद

wordpress database connection WordPress डेटाबेस कनेक्शन - -- wordpress change database WordPress परिवर्तन डेटाबेस - -- change wordpress database बदल WordPress डेटाबेस - -- change database wordpress परिवर्तन डाटाबेस WordPress - -- wordpress database connection file WordPress डेटाबेस कनेक्शन फ़ाइल - -- wordpress database password WordPress डेटाबेस पासवर्ड - -- wordpress connect to database WordPress डेटाबेस से कनेक्ट - -- Connection Error to NDO DataBase ! N क्या डाटाबेस के लिए कनेक्शन त्रुटि! - -- Connection Error to NDO DataBase N क्या डाटाबेस के लिए कनेक्शन त्रुटि - -- error establishing a database connection wordpress mu एक डेटाबेस कनेक्शन WordPress म्यू की स्थापना त्रुटि - -- wordpress db connection WordPress DB कनेक्शन - -- wordpress mu Error establishing a database connection WordPress म्यू एक डेटाबेस संबंध स्थापित करने में त्रुटि - -- how to change wordpress database कैसे WordPress डेटाबेस बदलने के लिए - -- change wordpress database password बदल WordPress डेटाबेस पासवर्ड - -- wordpress database change WordPress डाटाबेस परिवर्तन - -- wordpress database connect WordPress डेटाबेस कनेक्ट - -- changing wordpress database WordPress डाटाबेस बदलते - -- wordpress change database password WordPress परिवर्तन डाटाबेस पासवर्ड - -- connect to wordpress database कनेक्ट करने के लिए WordPress डेटाबेस - -- database connection wordpress डेटाबेस कनेक्शन WordPress - -- wordpress changing database बदलते डेटाबेस WordPress - -- edit wordpress database संपादित करें डेटाबेस WordPress - -- wordpress error establishing a database connection WordPress एक डेटाबेस संबंध स्थापित करने में त्रुटि - -- wordpress db connection file WordPress DB कनेक्शन फ़ाइल - -- change database in wordpress WordPress में परिवर्तन डेटाबेस - -- Connection Error to NDO DataBase ! N क्या डाटाबेस के लिए कनेक्शन त्रुटि! - -- database connection in wordpress WordPress में डेटाबेस कनेक्शन - -- change wordpress db बदल WordPress DB - -- wordpress database password change WordPress डेटाबेस पासवर्ड परिवर्तन - -- wordpress connect database WordPress डेटाबेस कनेक्ट - -- connecting to wordpress database डाटाबेस को जोड़ने के लिए WordPress - -- wordpress database connection details WordPress डेटाबेस कनेक्शन विवरण - -- db connection file in wordpress WordPress में DB कनेक्शन फ़ाइल - -- wordpress change db WordPress परिवर्तन DB - -- connect wordpress database WordPress डेटाबेस कनेक्ट - -- how to change database in wordpress कैसे WordPress डेटाबेस में बदलने के लिए - -- Connection Error to NDO DataBase N क्या डाटाबेस के लिए कनेक्शन त्रुटि - -- We were able to connect to the database server (which means your username and password is okay) but not able to select the हमें डेटाबेस सर्वर से कनेक्ट करने में सक्षम थे (जो अपने उपयोगकर्ता नाम और पासवर्ड का मतलब है, ठीक है) में सक्षम है, लेकिन चयन नहीं - -- "Connection Error to NDO DataBase !" "N क्या डाटाबेस के लिए कनेक्शन त्रुटि!" - -- ndo database n क्या डेटाबेस - -- can't select database wordpress WordPress डेटाबेस का चयन नहीं कर सकते - -- changing database in wordpress WordPress डाटाबेस में बदल - -- change db wordpress बदल DB WordPress - -- wordpress db connect WordPress DB कनेक्ट - -- 2Pac - Changes oversat til dansk 2Pac - परिवर्तन तिल Dansk oversat - -- how to change wordpress database password WordPress कितना डेटाबेस पासवर्ड बदलने के लिए - -- wordpress connection to db WordPress कनेक्शन DB के लिए - -- how to edit wordpress database कैसे WordPress डेटाबेस को संपादित करने - -- wordpress error connecting to database WordPress डेटाबेस से कनेक्ट त्रुटि - -- wordpress can't select database WordPress डेटाबेस का चयन नहीं कर सकते - --