Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -1132,7 +1132,7 @@ |
1133 | 1133 | $this->ignoreErrors( $ignore ); |
1134 | 1134 | } |
1135 | 1135 | else { |
1136 | | - $message = "A database error has occurred\n" . |
| 1136 | + $message = "A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script\n" . |
1137 | 1137 | "Query: $sql\n" . |
1138 | 1138 | "Function: $fname\n" . |
1139 | 1139 | "Error: $errno $error\n"; |
Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2741,7 +2741,7 @@ |
2742 | 2742 | public $error, $errno, $sql, $fname; |
2743 | 2743 | |
2744 | 2744 | function __construct( DatabaseBase &$db, $error, $errno, $sql, $fname ) { |
2745 | | - $message = "A database error has occurred\n" . |
| 2745 | + $message = "A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script\n" . |
2746 | 2746 | "Query: $sql\n" . |
2747 | 2747 | "Function: $fname\n" . |
2748 | 2748 | "Error: $errno $error\n"; |
Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | // perform query |
152 | 152 | $stmt = sqlsrv_query( $this->mConn, $sql ); |
153 | 153 | if ( $stmt == false ) { |
154 | | - $message = "A database error has occurred\n" . |
| 154 | + $message = "A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script\n" . |
155 | 155 | "Query: " . htmlentities( $sql ) . "\n" . |
156 | 156 | "Function: " . __FUNCTION__ . "\n"; |
157 | 157 | // process each error (our driver will give us an array of errors unlike other providers) |