Announcement Announcement Module
No announcement yet.
Magento - Unable to login Admin Area Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Magento - Unable to login Admin Area

    Hi Guys,

    We've suddenly been having problems logging into the backend of our Magento site, despite the fact that we have not changed our username or password. We keep on getting the error message:

    "Invalid Username or Password"

    We've tried resetting the password, but this hasn't worked. We've also tried clearing our browser cache and cookies, as well trying a different browsers. But none of these solutions have worked.

    Please help me as I have to login to the admin area.
    Last edited by afsal; 12th August 2014, 11:29 AM.

  • #2


    If you are using the correct username and password, please try the below steps and see if it works for you.

    Find app/code/core/Mage/Core/Model/Session/Abstract/Varien.php. in your Magento install folder and comment out the lines(see below) 80 to 83. The line numbers may vary.

    $cookieParams = array(
    'lifetime' => $cookie->getLifetime(),
    'path' => $cookie->getPath()
    // 'domain' => $cookie->getConfigDomain(),
    // 'secure' => $cookie->isSecure(),
    // 'httponly' => $cookie->getHttponly()

    Hope this helps


    • #3

      Have you cleared the cache from public_html/var/cache from your Magento recently?

      You can try changing the password using phpMyAdmin, find the Magento database which is in function and the table name is 'admin_user'. Passwords stored in the database are MD5 encrypted, so you need to use MD5 function.


      Tag Cloud Tag Cloud Module