I use PostfixAdmin Version 3.0 beta3 (2.93) and when I want to change my password I get the same site with a read square without any text inside above the "Change your login password". PostfixAdmin don't change my password. I think that there is a problem with MySQL. I can't find any log that shows wich problem my PostfixAdmin has.
Last edit: Hubert Kah 2016-03-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As admin I can change passwords. But when I log in as a simple user I can't. I use user e-mail address an passwortd. When I am logged in I klick "change password" I give the current password and in the next two lines the new one. If I klick the button to change my password the red square appears.
Ok, there is the text missing which would be shown in the red square I think. But I don't think that that is the reason why my passworld will not be changed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As admin I can change passwords. But when I log in as a simple user I can't. I use user e-mail address an passwortd. When I am logged in I klick "change password" I give the current password and in the next two lines the new one. If I klick the button to change my password the red square appears.
Are you running any script blockers or ad blockers on the postfixadmin page?
How does it works when I want to change a password? There have to be a config file or a script where is an "update" oder "alter" or something MySQL command like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just checked, and can't reproduce the problem. However, I have a new question - which language are you using? (This problem might be language-specific.)
To answer the question how it works: users/password.php does some base validation and then uses MailboxHandler (model/MailboxHandler.php) to change the password.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had a look at the script MailboxHandler.php. It is a little bit huge and my experience in php is far away. What can I do that I can see if there is a problem with that script? I think that this script can't log in to the mysql database or something like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use PostfixAdmin Version 3.0 beta3 (2.93) and when I want to change my password I get the same site with a read square without any text inside above the "Change your login password". PostfixAdmin don't change my password. I think that there is a problem with MySQL. I can't find any log that shows wich problem my PostfixAdmin has.
Last edit: Hubert Kah 2016-03-17
Has nobody any idea?!
There's more than one place where you can change your password, so please clarify what exactly you are doing:
Also check your apache error log - does it contain anything at the time you see the empty red square?
As admin I can change passwords. But when I log in as a simple user I can't. I use user e-mail address an passwortd. When I am logged in I klick "change password" I give the current password and in the next two lines the new one. If I klick the button to change my password the red square appears.
Apache log:
[Wed Mar 23 14:09:53.822125 2016] [:error] [pid 10927] [client 10.0.1.254:60234] Config::read(): attempt to read undefined config option "__LANG.$PALANG", returning null, referer: https://mail.server.name/users/password.php
Ok, there is the text missing which would be shown in the red square I think. But I don't think that that is the reason why my passworld will not be changed.
On Mar 23, 2016, at 7:33 AM, Hubert Kah hubertkah@users.sf.net wrote:
Are you running any script blockers or ad blockers on the postfixadmin page?
If so, don’t do that.
--
ɹןʇnqן
lbutler@covisp.net
303.219.0564
No, I don't. But also other browsers are showing that red square. (Firefox, Chrome, Internet Explorer).
And when I log in as root@domain.de I also can't change the password. But in this case the red square doesn't appears.
How does it works when I want to change a password? There have to be a config file or a script where is an "update" oder "alter" or something MySQL command like that.
I just checked, and can't reproduce the problem. However, I have a new question - which language are you using? (This problem might be language-specific.)
To answer the question how it works: users/password.php does some base validation and then uses MailboxHandler (model/MailboxHandler.php) to change the password.
I use the german translation.
I have set it back to english and tryed to change my password. But also in english the same error.
Last edit: Hubert Kah 2016-03-24
Has anybody an idea?
I had a look at the script MailboxHandler.php. It is a little bit huge and my experience in php is far away. What can I do that I can see if there is a problem with that script? I think that this script can't log in to the mysql database or something like that.
Apache error log:
Config::read(): attempt to read undefined config option "__LANG.$PALANG", returning null, referer: https://mail.server.name/users/password.php
Nothing else.
Last edit: Hubert Kah 2016-03-30
OK, so it tries to display an error message which doesn't exist (your error message indicates that it's over-escaped, we'll see).
I doubt this is a problem in MailboxHandler - otherwise other people would probably see this (including me, I'm also using the german translation).
Did you do any changes to $CONF['password_validation'] or other config options that involve translatable things?
If in doubt, please paste your config.local.php (without database password ;-) or, if you edited config.inc.php, a diff to the original file.
If this doesn't point to / solve the problem, we'll have to add some debugging code ;-)
config.local.php:
Do you really override translations with a language hook function? If not, leave this empty.
For your main problem - here we are:
You should comment out that line (prefix it with #).
It also explains why changing the password always fails - I'd guess your password does not contain "regular expression" ;-)
Oh, wow! That was the problem. It's solved!
Thank you very much!