[Tickets #2232] RESOLVED: No mail listing at all

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jul 11 00:51:12 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2232
-----------------------------------------------------------------------
 Ticket             | 2232
 Updated By         | loginadmin at gmail.com
 Summary            | No mail listing at all
 Queue              | IMP
 Version            | 4.0.3
 State              | Bogus
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


loginadmin at gmail.com (2005-07-11 00:51) wrote:

I found the error after some debugging.  One some system like FreeBSD, when
they compile iconv and if they use the GNU iconv, you can not use the iconv
function.  You will have to use libiconv() instead.  The problem lies at
lib/Horde/String.php at around line 104 which is trying to call @iconv
function.  Since it start with the "@" sign, no error is printing on screen.
 In the String.php, you can add the following code should solve the issue.

if (!function_exists('iconv') && function_exists('libiconv')) {
   function iconv($input_encoding, $output_encoding, $string) {
       return libiconv($input_encoding, $output_encoding, $string);
   }
}





More information about the bugs mailing list