Can't log in to local development copy
Permalink
I have just installed a copy of my C5 website onto my local machine along with a SQL dump. I am trying to log in, but running my user name and password don't seem to work. C5 also seems to keep resetting my username to "admin" by default (I assume this has something to do with a cache from previous installations, but I am not sure).
I have also tried manually changing the upassword field to an md5 hash of a different password, but this has not worked either. I assume this is either because there is a salt that I don't know about, or I have done something horribly wrong with my configuration.
Has anyone run into this problem before?
I have also tried manually changing the upassword field to an md5 hash of a different password, but this has not worked either. I assume this is either because there is a salt that I don't know about, or I have done something horribly wrong with my configuration.
Has anyone run into this problem before?
I located the salt in config/salt.php, but I am not sure how this makes a difference...I am copying files from an already-made and working c5 site, so the salt should be imported along with the rest of the files and should be SQL-compatible.
I'm also having difficulty resetting the password...I get a thank you page when I enter my email, but no email is sent.
I'm also having difficulty resetting the password...I get a thank you page when I enter my email, but no email is sent.
@mkaravan there's an how to section article which you can find herehttp://www.concrete5.org/documentation/how-tos/developers/i-cant-lo...
The SALT is generated on install. So if you install c5, then import an SQL dump, your password won't match up.
You'll need to generate a new MD5 hash using the generated SALT.