I\'m having troubles logging into Magento\'s admin panel on one of our staging sites (it works 100% on our webdev servers and was working just fine not too long ago on the s
Need to update 3 things in the core_config_data
table for following paths:
web/secure/base_url
web/unsecure/base_url
web/cookie/cookie_domain
use commands like
UPDATE 'core_config_data' SET 'value'="localhost.com" WHERE path="web/cookie/cookie_domain"
and do not forget to clear cache and browser cookies.
If you use sample data:
Change: app/etc/local.xml line 55
<session_save><![CDATA[files]]></session_save>
replace
<session_save><![CDATA[db]]></session_save>
Then: Clear browser cache
We had the same issue and it was due to the server hard drive running out of space. Magento couldn't create a new session and therefore wouldn't log us in. Freed up the space and the issue was solved.
In my case session
folder was missing under var
folder. I just created var/session
folder and set permission to 777
, cleared cache
and done.
You should check sysytem.log
for this.
Having the specific error would help. A couple shots in the dark -
It's worth checking your rewrites. I've had issues moving from server to server where one of them doesn't have the rewrite setup correctly. if servername.com/index.php/admin works, but servername.com/admin doesn't, then you have a rewrite issue.
It could conceivably also be that the base_url is not configured for the right server. Did you change it when you moved the database over? See my answer at this post for details.
I did a simple method. I went to phpMyAdmin then used a new password with MD5 hash. Then successfully logged in with that password