-
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
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...
-
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
-
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
-
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
-
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