From: Greg Sabino Mullane Date: Thu, 17 Aug 2006 02:48:39 +0000 (+0000) Subject: Add suggestion to restart if the "impossible" happens. X-Git-Tag: 1.31.0-rc.0~55966 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=ff2c3f84864fb7af8b947a5b9d5386d674b9f7a7;p=lhc%2Fweb%2Fwiklou.git Add suggestion to restart if the "impossible" happens. --- diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index f1119c7dd4..f5fe6b2e82 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -51,7 +51,7 @@ class DatabasePostgres extends Database { function open( $server, $user, $password, $dbName ) { # Test for Postgres support, to avoid suppressed fatal error if ( !function_exists( 'pg_connect' ) ) { - throw new DBConnectionError( $this, "Postgres functions missing, have you compiled PHP with the --with-pgsql option?\n" ); + throw new DBConnectionError( $this, "Postgres functions missing, have you compiled PHP with the --with-pgsql option?\n (Note: if you recently installed PHP, you may need to restart your webserver and database)\n" ); }