Category: Magento
Here you may find various posts on Magento CMS
Can’t Login to Magento Admin Panel after successful Installation
Here’s a simple solution to those facing Fresh Magento Installation Backend login problem. It’s obviously an issue around Cookie settings. So let’s get to it.
First thing you got to do is look for a file named Varien.php which is located same way as the following.
[magento_url]\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
I managed to get it to work by commenting the whole block lines 77-104:
/* $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);
} */
Meganto Installation Error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\magento\lib\Zend\Db\Statement\Pdo.php on line 228
what I did was in my php.ini file, doesn’t really matter what version you are running, I have been successful installing magento. What I did was change both the max_execution_time and max_input_time to 1800. This worked for me. I was able to then get Magento installed. I then switched back the max_input_time to its default of 60 after installation.