I am trying to figure out what is going wrong in my Magento 1.8.1 setup.
My Magento 1.8.1 installation is all working fine if I access it from the server IP (e.g. XXX.XXX.XXX.XXX/magento).
After I configured my domain (e.g. xxx.xxxxx.com), the index.php page and the index.php/admin seem to load ok. However I am not able to login in both of them using Chrome.
Actually I was able to login the first time, then after I logged out I am not able to login anymore. Even clearing cookies on the browser and emptying the var/session and var cache folder seems to change nothing (I am only able to login the first time).
I also tried to comment out some lines (87-104) on the Mage\Core\Model\Session\Abstract\Varien.php file, nothing changed (it only created a long list of warning in my system.log).
// session cookie params // $cookieParams = array( // 'lifetime' => $cookie->getLifetime(), // 'path' => $cookie->getPath(), // 'domain' => $cookie->getConfigDomain(), // 'secure' => $cookie->isSecure(), // 'httponly' => $cookie->getHttponly() // );
This problem seems related to Chrome, in Internet Explorer and Safari it seems to work fine. In Chrome with Incognito mode all seems to work fine sometimes (sometimes it works also after loggin out, sometimes after loggin out I am not able to login again as without the incognito mode).