Changeset 625
- Timestamp:
- 12/18/03 09:18:57 (5 years ago)
- Files:
-
- trunk/wp-includes/wp-db.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/wp-db.php
r601 r625 32 32 if ( ! $this->dbh ) 33 33 { 34 $this->print_error("<div id='error'>35 <p><strong>Error establishing a database connection!</strong> </p>34 die("<div> 35 <p><strong>Error establishing a database connection!</strong> This probably means that the connection information in youn <code>wp-config.php</code> file is incorrect. Double check it and try again.</p> 36 36 <ul> 37 37 <li>Are you sure you have the correct user/password?</li> … … 39 39 <li>Are you sure that the database server is running?</li> 40 40 </ul> 41 <p><a href='http://wordpress.org/support/'>WordPress Support Forums</a></p> 41 42 </div>"); 42 43 } … … 54 55 if ( !@mysql_select_db($db,$this->dbh)) 55 56 { 56 $this->print_error("<ol id='error'> 57 <li><strong>Error selecting database <u>$db</u>!</strong></li> 57 die(" 58 <p>We're having a little trouble selecting the proper database for WordPress.</p> 59 <ul> 58 60 <li>Are you sure it exists?</li> 59 <li>Are you sure there is a valid database connection?</li> 60 </ol>"); 61 <li>Your database name is currently specified as <code>" . DB_NAME ."</code>. Is this correct?</li> 62 <li>On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?</li> 63 </ul> 64 <p><a href='http://wordpress.org/support/'>WordPress Support Forums</a></p>"); 61 65 } 62 66 }
