New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your email address or password are not correct. #444
Comments
I also have checked mysql database and there is no users or admins in it |
Hi, Did You setup exist / correct DB on config.inc.php or config.local.php? Maybe You make new DB while upgrade process? Can You generate new hash password and add superadmin on domain.com/setup.php? |
Hi |
What PHP version R u using? and from what version Postfixadmin You make this upgrade? Check Web server error log for any info. Check yourdomain.com/setup.php if DB doesnt require to be updated with new version so new Postfixadmin to work properly. Forget password feature works only when You setup "Other e-mail" (Used if the password is forgotten) on email account added to DB. Without it system doesnt know where to send reset code and dont do it. |
Change your config.local.php to have : $CONF['setup_password'] = '$2y$10$yr/WtC85Pqhv9s9Terc53.neCW7RVCfSfcV4mNiejQDqZBwM6X.yi'; (Note, it MUST use single quotes. The above is from using a password of topsecret ) then using that on http://yourserver/setup.php in order to add a new admin. If that doesn't do anything, add a line like :
do your config.local.php and refresh setup.php. If setup.php doesn't display a file name then you're editing the wrong config.local.php file!! hope that helps. |
thank you for info. Your email address or password are not correct. |
I did that and I get on web page |
Try make this - from UPGRADE.txt
and |
OK that's fine. So you said :
Can you login as that admin ? If not, what to do you see? Any error message? Is there an error message in your webserver's log file(s) ( see https://github.com/postfixadmin/postfixadmin/blob/master/DOCUMENTS/FAQ.txt#L38 ) Is there a row in the database 'admin' table ? Are you using dovecot for your $CONF['encrypt'] setting ? |
Try to check mysql server logs while You trying to login and check encryption u setup on config.inc.php
and set with Yours. Logs should tell You more |
studiowena DavidGoodwin $CONF['encrypt'] = ''; Where postfixadmin write admin user and password??? |
I've gave You example with empty field - You have to choose one of the type of encryption postfixadmin used to encrypt passwords on Your system.
on config.inc.php You have: |
I don't kno what I am doing wrong I cant even get to login with setup password anymore. |
|
maybe You copy password from file with "empty space" and this is counted as one more character on password field. Yes this is stupid but possible :) |
I have alčl the time
I was carefull about that because yes I did that to in past. But now not. |
I manage to make it work. It was not possible to add admin into mysql database with setup.php. So I have add admin via phpmyadmin. And now it work ok. |
So, maybe Your mysql user used to read DB has no all privilages to make inserts to postfixadmin DB - check it. btw good to hear You solve problem |
I have checked that many times and it has all possible rights and still the same |
I guess I need to add some sort of database read/write check to #445 |
I am trying to setup this on other server and it is the same. |
I can't get information page, no way. |
Something here is not working ok. php files have no right access to database. |
Hi @Blisk EDIT: It was a postgres problem, apparently. I had to modify the authentication method "$CONF['encrypt'] = 'md5';". |
Hi |
If you're feeling adventurous, try using either 'master' or the 'postfixadmin_3.3' branch. The setup.php page in either may now output some more helpful output (once you've authenticated using your setup_password). |
thank you but right now I have too much to do to make my self more problems. |
I dida an upgrade to latest version of postfixadmin.
But whatever I do I get the same problem.
Your email address or password are not correct.
I have setup $CONF['setup_password'] =
but still the same
The text was updated successfully, but these errors were encountered: