[imp] php5.3 and webmail 1.2.11
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu May 24 09:43:20 UTC 2012
>On 18.05.12 14:56, Matus UHLAR - fantomas wrote:
>>one (only one for now) of our customers can't see listing of its
>>mail when using php 5.3 and horde webmail 1.2.11. With php 5.2, it
>>is OK. Other customers don't have problems (at least we had no
>>report yet).
On 21.05.12 13:18, Matus UHLAR - fantomas wrote:
>I found out that is was preference that apparently caused the problem:
>
>INSERT INTO `horde_prefs` VALUES ('...','imp','sortpref','a:1:{i:0;a:2:{s:1:\"b\";s:1:\"0\";s:1:\"d\";s:0:\"\";}}');
further searching revealed that it apparently means that the search
sorting is not empty, which causes troubles for imap_sort:
PHP Warning: imap_sort() expects parameter 2 to be long, string given in /www/horde/lib/Horde/IMAP/Search.php on line 154
>did anything change much in the PHP IMAP that could cause these
>troubles?
imap_sort in 5.3 apparently checks its parameters more carefully.
>>I know that upgrading to H4 is way to go, but unfortunately now I
>>can't do it, but I'd like to solve its problem.
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
More information about the imp
mailing list