From 69ce37d46320864a083d87dbe9096290450a64e3 Mon Sep 17 00:00:00 2001
From: Ryan Boren This either means that the username and password information in your This either means that the username and password information in your If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums. We were able to connect to the database server (which means your username and password is okay) but not able to select the We were able to connect to the database server (which means your username and password is okay) but not able to select the 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. 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.Error establishing a database connection
-wp-config.php
file is incorrect or we can't contact the database server at $dbhost
. This could mean your host's database server is down.wp-config.php
file is incorrect or we can't contact the database server at %s
. This could mean your host's database server is down.
Can’t select database
-$db
database.%1$s
database.
-".DB_USER."
have permission to use the $db
database?%2$s
have permission to use the %1$s
database?wp-config.php
file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.
Create a Configuration File", "WordPress › Error");
+ wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a wp-config.php
file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php
file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.
Create a Configuration File"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/"WordPress › Error"/*/WP_I18N_ERROR_TITLE*/);
}
diff --git a/wp-settings.php b/wp-settings.php
index e67dd9bf02..4da868c2bc 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -97,14 +97,14 @@ if ( empty($PHP_SELF) )
$_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
if ( version_compare( '4.3', phpversion(), '>' ) ) {
- die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.' );
+ die( /*WP_I18N_OLD_PHP*/'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/ );
}
if ( !defined('WP_CONTENT_DIR') )
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
if ( !extension_loaded('mysql') && !file_exists(WP_CONTENT_DIR . '/db.php') )
- die( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' );
+ die( /*WP_I18N_OLD_MYSQL*/'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.'/*/WP_I18N_OLD_MYSQL*/ );
/**
* timer_start() - PHP 4 standard microtime start capture
@@ -212,7 +212,7 @@ if ( !empty($wpdb->error) )
$prefix = $wpdb->set_prefix($table_prefix);
if ( is_wp_error($prefix) )
- wp_die('ERROR: $table_prefix
in wp-config.php
can only contain numbers, letters, and underscores.');
+ wp_die(/*WP_I18N_BAD_PREFIX*/'ERROR: $table_prefix
in wp-config.php
can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/);
if ( file_exists(WP_CONTENT_DIR . '/object-cache.php') )
require_once (WP_CONTENT_DIR . '/object-cache.php');