Show possible error messages.
This commit is contained in:
@@ -14,6 +14,7 @@ $Source$
|
||||
* libraries/plugin_interface.lib.php: Add support for hidden inputs.
|
||||
* libraries/common.lib.php: Do not forget wrongly configured servers,
|
||||
otherwise user gets warning only on first access (RFE #1451521).
|
||||
* libraries/auth/config.auth.lib.php: Show possible error messages.
|
||||
|
||||
2006-03-15 Michal Čihař <michal@cihar.com>
|
||||
* libraries/export/htmlexcel.php: Fix output handling (bug #1450555).
|
||||
|
@@ -126,7 +126,12 @@ function PMA_auth_fails()
|
||||
echo '<p>' . $GLOBALS['strAccessDeniedExplanation'] . '</p>' . "\n";
|
||||
}
|
||||
}
|
||||
PMA_mysqlDie($conn_error, '');
|
||||
PMA_mysqlDie($conn_error, '', true, '', false);
|
||||
}
|
||||
if ( ! empty( $GLOBALS['PMA_errors'] ) && is_array( $GLOBALS['PMA_errors'] ) ) {
|
||||
foreach ( $GLOBALS['PMA_errors'] as $error ) {
|
||||
echo '<div class="error">' . $error . '</div>' . "\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user