Magento login issue with chrome
Magento admin panel login works fine with Firefox and IE, but not able login and see the admin panel with Chrome. This Magento admin panel login issue is caused by session cookie with the chrome browser. To fix it, just go to this file /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php and comment out the following code in magento (1.7.2), the code starts from line 85, Like this
/* $cookieParams = array( 'lifetime' => $cookie->getLifetime(), 'path' => $cookie->getPath(), 'domain' => $cookie->getConfigDomain(), 'secure' => $cookie->isSecure(), 'httponly' => $cookie->getHttponly() ); 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(); } call_user_func_array('session_set_cookie_params', $cookieParams); if (!empty($sessionName)) { $this->setSessionName($sessionName); } */
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts