On Wednesday 11 November 2009 01:13:03 Alistair Bates wrote: > Hi > > I've updated the version of PHP running
which version? > on my Mac OSX server and the > new version includes mcrypt which I didn't have before. Since then > I've not been able to log in. > > There appears to be a problem with the length of the initialization > vector being handed to the mcrypt function, the interesting thing > being that the length is changing each time: 11, 18, 9, 12. > > The error logs show: > > a...@buggles:/Library/Webserver/Documents/roundcube$ tail logs/errors > > [10-Nov-2009 13:23:09] PHP Warning: mcrypt_generic_init() > [function.mcrypt-generic-init]: Iv size incorrect; supplied length: > 11, needed: 8 in /Library/WebServer/Documents/roundcube/program/ > include/rcmail.php on line 995 > [10-Nov-2009 13:23:12 +0000]: IMAP Error: Authentication for ali > failed (LOGIN): "a001 NO Login failed." (GET /roundcube/?_task=mail) > [10-Nov-2009 13:36:59] PHP Warning: mcrypt_generic_init() > [function.mcrypt-generic-init]: Iv size incorrect; supplied length: > 18, needed: 8 in /Library/WebServer/Documents/roundcube/program/ > include/rcmail.php on line 995 > [10-Nov-2009 13:37:02 +0000]: IMAP Error: Authentication for ali > failed (LOGIN): "a001 NO Login failed." (GET /roundcube/?_task=mail) > [10-Nov-2009 13:38:16] PHP Warning: mcrypt_generic_init() > [function.mcrypt-generic-init]: Iv size incorrect; supplied length: 9, > needed: 8 in /Library/WebServer/Documents/roundcube/program/include/ > rcmail.php on line 995 > [10-Nov-2009 13:38:21] PHP Warning: mcrypt_generic_init() > [function.mcrypt-generic-init]: Iv size incorrect; supplied length: > 12, needed: 8 in /Library/WebServer/Documents/roundcube/program/ > include/rcmail.php on line 995 > [10-Nov-2009 13:38:24 +0000]: IMAP Error: Authentication for ali > failed (LOGIN): "a001 NO Login failed." (GET /roundcube/?_task=mail) > > Grateful for any advice! > quick workaround maybe to change program/include/rcmail.php lin 993 to $iv =8; but I'm not sure what long term effect this will have. -- Daniel Black Infrastructure Administrator CAcert --- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/AP/S3XjH6nX/signature.asc Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
_______________________________________________ List info: http://lists.roundcube.net/users/
