Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Magento 1.4 Localhost Admin login problem and solution


Comment code from starting line 86 to 98 in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php.
e.g.

/*  if (!$cookieParams[‘httponly’]) {
unset($cookieParams[‘httponly’]);
if (!$cookieParams[‘secure’]) {
unset($cookieParams[‘secure’]);
if (!$cookieParams[‘domain’]) {
unset($cookieParams[‘domain’]);
}
}
}

if (isset($cookieParams[‘domain’])) {
$cookieParams[‘domain’] = $cookie->getDomain();
} */

Advertisements

Comments are closed.

%d bloggers like this: