From: szabolcs t. <sza...@gm...> - 2011-09-21 17:34:12
|
I have done the following changes to the setup: http://blog.rtfm.co.hu/2011/03/squirrelmail-change_sqlpass-this-page-request-could-not-be-verified-and-appears-to-have-expired/ and now the password appears to change OK in the web interface. But when I try to go to the inbox, it gives me the ERROR Unknown user or password incorrect. Go to the login page When I log in again, I can do it with the old password. in the apache error log I have the following: [Wed Sep 21 20:19:33 2011] [error] [client 80.96.114.35] PHP Notice: Undefined variable: csp_non_standard_http_port in /usr/share/squirrelmail/plugins/change_sqlpass/functions.php on line 944, referer: http://www.yyy.com/webmail/plugins/change_sqlpass/options.php meanwhile I took a look at the mysql log, observing that it tries to change the password field on a record which has field name="use...@do...". UPDATE users SET crypt = encrypt("newpass") WHERE name = "use...@do..." I have checked the database fields and realised that field "name" should be in fact field "id" in the above command. After changing that, works like a charm! Still the PHP Notice from above persists in the apache error log. I wish you all the best and keep up the good work! Szabi |