Thanks also for the 127.0.0.1 tip - worked for me on a clean install of 1.3.0. I haven’t had to do this before on 1.2.2 - perhaps they’ve changed something to secure the admin?
In this function params - the problem is. I have just commented this code and it started to work.
Someone can try to play with preferences, for example $this->getCookie()->getDomain() - woudl be localhost, may be because of this it can not be saved.
Thx, 127.0.0.1 instead of localhost worked.
But when you use MAMP on Mac OSX, you better use Safari, cause FF redirects http://127.0.0.1 to http://localhost ...
I just had this issue after pulling down the LIVE MySQL database to my local dev environment.
Make sure you change the following value
TABLE: core_config_data
PATH: web/cookie/cookie_domain
VALUE: 127.0.0.1
This value only works if you are running it locally on your machine. If you move to another server, update the value to be “.domainname.com” or whatever it is. the “.” before the domainname allows the cookies to work on any subdomains you may have as well.
I’m somewhat knowledgeable with php, and my install went fine, but I still cannot log in to my admin panel! I have installed on a localhost, php is up to date, I have tried everything mentioned in all the google universe! 127.0.0.1, does not work, and when I comment the lines mentioned earlier in the varien file I cannot access my Magento install at all, I get this error:
Parse error: parse error in C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php on line 84
I know I’m probably missing something obvious, perhaps I skipped a step during my install… I’m getting a little frustrated after 3 days of working on this, I’m considering switching to zen cart at this point.