diff --git a/libraries/common.inc.php b/libraries/common.inc.php
index 1a140bba9..4a67cbc80 100644
--- a/libraries/common.inc.php
+++ b/libraries/common.inc.php
@@ -372,7 +372,6 @@ $goto_whitelist = array(
'db_printview.php',
'db_search.php',
//'Documentation.html',
- //'error.php',
'export.php',
'import.php',
//'index.php',
diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php
index 6f312076d..654974d80 100644
--- a/libraries/config/messages.inc.php
+++ b/libraries/config/messages.inc.php
@@ -264,7 +264,7 @@ $strConfigLeftDisplayLogo_desc = __('Show logo in left frame');
$strConfigLeftDisplayLogo_name = __('Display logo');
$strConfigLeftDisplayServers_desc = __('Display server choice at the top of the left frame');
$strConfigLeftDisplayServers_name = __('Display servers selection');
-$strConfigLeftDisplayTableFilterMinimum_name = __('Mimimum number of tables to display table filter');
+$strConfigLeftDisplayTableFilterMinimum_name = __('Minimum number of tables to display the table filter box');
$strConfigLeftFrameDBSeparator_desc = __('String that separates databases into different tree levels');
$strConfigLeftFrameDBSeparator_name = __('Database tree separator');
$strConfigLeftFrameDBTree_desc = __('Only light version; display databases in a tree (determined by the separator defined below)');
diff --git a/libraries/core.lib.php b/libraries/core.lib.php
index 97d443af1..54da58c47 100644
--- a/libraries/core.lib.php
+++ b/libraries/core.lib.php
@@ -235,21 +235,18 @@ function PMA_fatalError($error_message, $message_args = null)
}
// Displays the error message
- // (do not use & for parameters sent by header)
- $query_params = array(
- 'lang' => $GLOBALS['available_languages'][$GLOBALS['lang']][1],
- 'dir' => $GLOBALS['text_dir'],
- 'type' => $error_header,
- 'error' => $error_message,
- );
- header('Location: ' . (defined('PMA_SETUP') ? '../' : '') . 'error.php?'
- . http_build_query($query_params, null, '&'));
+ $lang = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
+ $dir = $GLOBALS['text_dir'];
+ $type = $error_header;
+ $error = $error_message;
// on fatal errors it cannot hurt to always delete the current session
if (isset($GLOBALS['session_name']) && isset($_COOKIE[$GLOBALS['session_name']])) {
$GLOBALS['PMA_Config']->removeCookie($GLOBALS['session_name']);
}
+ require('./libraries/error.inc.php');
+
exit;
}
diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php
index 367808bed..a724c3d74 100644
--- a/libraries/display_export.lib.php
+++ b/libraries/display_export.lib.php
@@ -84,11 +84,11 @@ if(isset($_GET['sql_query'])) {
@@ -110,7 +110,7 @@ if(isset($_GET['sql_query'])) {
} else {
echo ' checked="checked" />';
}
- echo ''; ?>
+ echo ''; ?>