diff options
Diffstat (limited to 'includes/database.pgsql.inc')
-rw-r--r-- | includes/database.pgsql.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc index cefc82a07..bb7ffd1c0 100644 --- a/includes/database.pgsql.inc +++ b/includes/database.pgsql.inc @@ -51,7 +51,8 @@ function db_connect($url) { if (!$connection) { drupal_maintenance_theme(); drupal_set_title('Unable to connect to database'); - print theme('maintenance_page', '<p>This either means that the database information in your <code>settings.php</code> file is incorrect or we can\'t contact the PostgreSQL database server. This could mean your hosting provider\'s database server is down.</p> + print theme('maintenance_page', '<p>If you still have to install Drupal, proceed to the <a href="'. base_path() .'install.php">installation page</a>.</p> +<p>If you have already finished installed Drupal, this either means that the username and password information in your <code>settings.php</code> file is incorrect or that we can\'t connect to the PostgreSQL database server. This could mean your hosting provider\'s database server is down.</p> <p>The PostgreSQL error was: '. theme('placeholder', decode_entities($php_errormsg)) .'</p> <p>Currently, the database is '. theme('placeholder', substr($url['path'], 1)) .', the username is '. theme('placeholder', $url['user']) .', and the database server is '. theme('placeholder', $url['host']) .'.</p> <ul> |