We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36897
    • 11 Posts
    Hi there,

    I can't seem to login as an admin anymore to a website I created with Modx Revo (2.0).

    I haven't logged into the manager in like maybe a year and a half so it's been awhile, in the meantime we haven't switched servers or changed anything. I'm the only user in the site manager by the way.

    So what happens is when I try to log in I get this message: "That account could not be located. Check the username and re-type the password to try again."

    I thought, ok, maybe I just have forgotten my password? so I tried to use the login's password reset link and regardless if I enter my username or the email I created the username with I get this message: "User not found with that email. Please try again."

    I've checked the user tables in the database for the site and I'm still in there as is my email so I'm really puzzled. Any advice would be greatly appreciated.

    Oh, I dont' know if it's helpful but I have tried truncating the modx_session table (I found that as a possible fix but I'm still not able to login).
      • 3749
      • 24,544 Posts
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        You might also want to check the user and user_attributes tables to see if they need to be repaired.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 36897
          • 11 Posts
          Thanks BobRay and sottwell! Turns out it was me completely being dumb.

          I was going through the solutions that BobRay posted and while looking at the config file for the site, I noticed that there was a completely different database listed then the one I looked at last night. I checked this other database and sure enough...you guessed it, a different user account was there. I tried that one and I was able to log in.

          This is what I get for not keeping better notes on old projects. Thanks again!!


            • 3749
            • 24,544 Posts
            Don't feel bad. It's happened to me more than once. wink
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting