From: den_RDC <rd...@ko...> - 2005-02-05 00:10:51
|
Using the latest snapshot (0.9) I get this error on "Manage fodlers": Warning: array_diff(): Argument #1 is not an array in /var/www/localhost/htdocs/ilohamail2/source/edit_folders.php on line 187 and this error in the folder display : Couldn't get folder list from stream at localhost This is probably a Courier-IMAP issue, and i think the code in imap.inc (line 1639) to "fix" this issue doesn't work correctly. I am not a PHP programmer, but this piece of code : if (is_array($folders)){ if (!empty($ref)){ // if rootdir was specified, make sure it's the first element // some IMAP servers (i.e. Courier) won't return it if ($ref[strlen($ref)-1]==$delim) $ref = substr($ref, 0, strlen($ref)-1); if ($folders[0]!=$ref) array_unshift($folders, $ref); } }else{ $conn->error = $line; return false; } seems not to work because is_array($folders) seems to be false in my case... Any ideas? Mvg den_RDC |