I'm developing on a shop, local, and starting it with
php -S localhost:3000
http://localhost:3000 works for me.
But when I want to login into backend, it keeps displaying only the login page.
I also created a new admin user using n98-magerun
, I've deleted all cookies, and still can't login…
The web/unsecure/base_url
and web/secure/base_url
in core_config_data are also set to http://localhost:3000
.
What could be the problem?
Best Answer
A quick fix
========================================================================= This is an problem of saving cookie in browser! You can overcome this by by coping
/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
to/app/code/local/Mage/Core/Model/Session/Abstract/Varien.php
. Then look for the below code on the/app/code/local/Mage/Core/Model/Session/Abstract/Varien.php
.Then comment this lines.. And then try again. You should be able to login on the admin panel.
Note: If all folder not exits on the local folder then you need to create those and then paste your file.