can’t you click on the forgot password link at login?
www.9thwave.co.uk
WEB | DESIGN | PRINT
thanks.
I zero’d some the time to wait after failed logins, but I got no results.
I tried zero’ing that time, and then resetting the admin passwd.
No luck.
So I reinstalled.
It’s just a fresh install, so I didn’t loose anything.
But it’s good to have this post as a reference to check in case this happens again.
Cheers.
This is really weird.
About four times now, I have installed modx on a local test machine.
Because it’s a local install, and I don’t have to worry about security too much, I always set the user/password to admin/admin.
Every time I’ve installed, the cms eventually "forgets" my password.
I leave the cms for a day or two. I go back
Logging in as admin, password admin, the login fails.
Every time I have deleted the installation and the dropped the database, starting afresh.
What could be happening here ?
That’s extremely odd. I would make a note of the password hash in the users table password field in PhpMyAdmin. Then look again when you can’t login to see if it’s changed or gone. I’ll be that it’s still there and the problem is elsewhere.
I haven’t looked at the login code for a while, but I think it sets a cookie or $_SESSION variable with your input, then checks that against the DB. So it could be a session or cookie problem.
Yeah, it is extremely odd.
I can’t for the life of me guess what could be causing it.
I’m not using phpmyadmin.
Is there a way to get the password hash from the mysql prompt ?
btw - this has happened again.
Last night I deleted the old install and dropped the database.
I freshly installed modx, using admin/admin as user/pass.
This morning I am locked out of my fresh install again.
This is a local machine. No one else has access to it or it’s databases.
The first thing I noticed last night, was that I could log in with firefox, but not chrome.
I deleted all cached informations in chrome, logged out in firefox, and tried again to log in with chrome. To no avail.
But, I could log in again with firefox.
I logged out before I went to sleep. And found that I couldn’t log in in either browser this morning.
I’m as fascinated as I am frustrated with this problem.
I am currently testing a bunch of cms’s on this server. I don’t have this problem with any other cms install.
It’s a laughably bizarre problem. But it’s certainly an obstacle.
If you can log in in any browser, the credentials are still there in the DB (and it would be really odd if they weren’t anyway).
I think I was wrong about the session/cookie thing, the login is handled directly.
You could play with the code in manager/processors/login.processor.com (or just comment out the password check around line 173) and get on with your life.
I’m afraid that I can’t log in on any browser.
Does that mean the database is somehow getting messed up?
Yeah, I could get rid of password checking. But it would really bother me have it in the back of my mind that this problems exists.