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

    I have a really strange problem with the manager login:

    Everytime i try to log into the manager with my admin account it fails and gives me the warning: "incorrect username or password".

    I have looked into the tables with phpMyAdmin and changed again the password like it’s described here: http://modxcms.com/forums/index.php/topic,275.0.html

    But nothing changed. I can’t login. But i also can’t send an email with the password to me.

    Can anyone help? is there mybe another table where i have to do changes?

    Thanks, captain
      • 25663 MODX Staff
      • 12,272 Posts
      Was there recently an upgrade to the server?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 4594
        • 74 Posts
        maybe they switched to PHP5. But i’m not sure...

        Maybe this is also important to know:
        Before this things occur, i’ve tried to change my admin username and password in the manager. And after that, i couldn’t login anymore and it seems, that the changes didn’t go into the database, because in my tables there is still the old username and password...
          • 25663 MODX Staff
          • 12,272 Posts
          You might try adding a new admin user/pass directly to the database using phpMyAdmin, making sure it’s set to role 0.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 4594
            • 74 Posts
            You might try adding a new admin user/pass directly to the database using phpMyAdmin

            In which table(s) do i have to create a new admin user?

            In "modx_user_roles", or "modx_user_attributes" or "modx_manager_users"

            Thanks for help!!
              • 25663 MODX Staff
              • 12,272 Posts
              I think this should work... but I’m probably wrong.

              1) Create a new entry in manager_users. Make sure to use the MD5 option for the password (which might be what happened to the original user too).
              2) Note the ID of the just-created user.
              3) In user_attributes, create a new entry for your user using the ID in step 2 for the internalKey, and 1 for the role (the admin role).
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 4594
                • 74 Posts
                i did it exactly the way you described above, but it does not work.
                Everytime the same error message: "Incorrect user or password entered"

                huh
                  • 25663 MODX Staff
                  • 12,272 Posts
                  And you are using the MD5 hash function when creating the password?
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 4594
                    • 74 Posts
                    yes, for sure ;-)
                      • 25663 MODX Staff
                      • 12,272 Posts
                      Then I’m at a complete loss and have no idea what’s going on. I’d suggest contacting your webhost support department to discuss any changes they may have made with them.

                      One last-ditch effort might be to use just alpha-numeric for your password to see if there’s some odd special character causing problems and being stripped out.
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me