Can't log in to Magento Admin

后端 未结 23 1881
花落未央
花落未央 2020-12-01 02:49

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

相关标签:
23条回答
  • 2020-12-01 03:32

    Need to update 3 things in the core_config_data table for following paths:

    1. web/secure/base_url
    2. web/unsecure/base_url
    3. 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.

    0 讨论(0)
  • 2020-12-01 03:33

    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

    0 讨论(0)
  • 2020-12-01 03:36

    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.

    0 讨论(0)
  • 2020-12-01 03:37

    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.

    0 讨论(0)
  • 2020-12-01 03:38

    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.

    0 讨论(0)
  • 2020-12-01 03:39

    I did a simple method. I went to phpMyAdmin then used a new password with MD5 hash. Then successfully logged in with that password

    0 讨论(0)
提交回复
热议问题