n0sleeves Posted March 24, 2013 Posted March 24, 2013 This is all on a local enviroment. I did a fresh install of PW and imported my old database. I changed the site/config to match new database name and I can see the site is functioning and looking correctly. However, I can not log into the admin even though my username and pass are correct in the config file. I'm stumped! Any ideas? Thank you so much,
apeisa Posted March 24, 2013 Posted March 24, 2013 There is password salt on config.php, you need to copy the value from your local to web. Install script creates unique salt. 1
alan Posted March 24, 2013 Posted March 24, 2013 I'm betting apesia's suggestion has solved this for you but just in case.., I used to get locked out sometimes with TXP and the advice below always helped. It's not directly applicable here (different named tables etc) but in case it's of any help I thought I'd note it. With phpMyAdmin, or at the MySQL command prompt, run the following query: update txp_users set pass=password(lower('pass')) where name='user'; ..where pass is the new password, and user is the login username. (Tks to TXP docs for this tip)
diogo Posted March 24, 2013 Posted March 24, 2013 Your username and pass to enter the admin are not in the config file. Those that you have in the config file are for the database. You can reset your password like this http://processwire.com/talk/topic/490-how-to-reset-your-password-how-to-enable-the-forgot-password-function/ 1
n0sleeves Posted March 26, 2013 Author Posted March 26, 2013 THanks guys. I got it to work by follwing your suggestions. Appreciate the help! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now