bug #3957 Cookies must be enabled past this point
This commit is contained in:
parent
362b11fabd
commit
ec6a47d8a0
@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog
|
||||
- bug #3927 List of tables is missing after expanding in the navigation frame
|
||||
- bug #3942 Warnings about reserved word for many non reserved words
|
||||
- bug #3912 Exporting row selection, resulted by ORDER BY query
|
||||
- bug #3957 Cookies must be enabled past this point
|
||||
|
||||
4.0.2.0 (2013-05-24)
|
||||
- bug #3902 Cannot browse when table name contains keyword "call"
|
||||
|
||||
@ -613,14 +613,6 @@ class PMA_Header
|
||||
{
|
||||
$retval = '';
|
||||
if ($this->_warningsEnabled) {
|
||||
// message of "Cookies required" displayed for auth_type http or config
|
||||
// note: here, the decoration won't work because without cookies,
|
||||
// our standard CSS is not operational
|
||||
if (empty($_COOKIE)) {
|
||||
$retval .= PMA_Message::notice(
|
||||
__('Cookies must be enabled past this point.')
|
||||
)->getDisplay();
|
||||
}
|
||||
$retval .= "<noscript>";
|
||||
$retval .= PMA_message::error(
|
||||
__("Javascript must be enabled past this point")
|
||||
|
||||
@ -262,14 +262,6 @@ class AuthenticationCookie extends AuthenticationPlugin
|
||||
Swekey_login('input_username', 'input_go');
|
||||
// END Swekey Integration
|
||||
|
||||
// show the "Cookies required" message only if cookies are disabled
|
||||
// (we previously tried to set some cookies)
|
||||
if (empty($_COOKIE)) {
|
||||
trigger_error(
|
||||
__('Cookies must be enabled past this point.'),
|
||||
E_USER_NOTICE
|
||||
);
|
||||
}
|
||||
if ($GLOBALS['error_handler']->hasDisplayErrors()) {
|
||||
echo '<div>';
|
||||
$GLOBALS['error_handler']->dispErrors();
|
||||
|
||||
@ -89,7 +89,7 @@ if (! isset($_COOKIE[$session_name])) {
|
||||
* Session initialization is done before selecting language, so we
|
||||
* can not use translations here.
|
||||
*/
|
||||
PMA_fatalError('Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.');
|
||||
PMA_fatalError('Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.');
|
||||
}
|
||||
unset($orig_error_count);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user