6.0.0-beta1
7/26/25

[#2232] No mail listing at all
Summary No mail listing at all
Queue IMP
Queue Version 4.0.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester loginadmin (at) gmail (dot) com
Created 07/07/2005 (7324 days ago)
Due
Updated 07/11/2005 (7320 days ago)
Assigned 07/07/2005 (7324 days ago)
Resolved 07/11/2005 (7320 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/11/2005 09:06:10 AM Jan Schneider Comment #12 Reply to this comment
It's a PHP bug then.

See http://bugs.php.net/bug.php?id=32244 for example.
07/11/2005 08:48:18 AM loginadmin (at) gmail (dot) com Comment #11 Reply to this comment
In fact, this is not a bug in FreeBSD, it just happen that there is 2 
kind of iconv library.  One is from Glibc and the other from GNU.   
Glibc use the name iconv, so the GNU one was named libiconv.  I guess 
Linux happens to use GNU, so there is no issue on Linux.  However, You 
might face same issue on other OS such as Solaris....



For detail, please look at



http://hk2.php.net/manual/en/function.iconv.php



Scroll to bottom on the comment at 16-Nov-2004 03:53
07/11/2005 08:14:51 AM Jan Schneider Comment #10 Reply to this comment
You are kidding, no? Please don't tell me they are really doing this. 
There doesn't even exists a function like that in PHP.

If this is really true please make an urgent bug report at FreeBSD.
07/11/2005 07:51:10 AM loginadmin (at) gmail (dot) com Comment #9 Reply to this comment
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);

    }

}


07/11/2005 07:25:35 AM Jan Schneider Comment #8
State ⇒ Not A Bug
Reply to this comment
No. And after all, this is not an IMP issue, because if the server 
doesn't segfault, the empty list is exactly what we get back from the 
PHP imap extension.

If you need more help fixing this (PHP or c-client) issue, ask on the 
mailing list.
07/10/2005 12:22:45 PM loginadmin (at) gmail (dot) com Comment #7 Reply to this comment
I have tried to compile with imap-2004d (was using imap-2004e) , same 
thing.  Any folder with email that has non-english character in the 
subject line, the whole folder won't dispaly the listing.  Any more 
suggestion?
07/08/2005 07:55:11 AM Jan Schneider Comment #6 Reply to this comment
Yes, unless you already use 2004e. In this case try a different 
version, sometimes even downgrading fixes things.
07/08/2005 07:45:20 AM loginadmin (at) gmail (dot) com Comment #5 Reply to this comment
So..I recompile imap-2004e and then recompile PHP 5.0.4 with it and 
see if that solve the problem?
07/08/2005 07:28:58 AM Jan Schneider Comment #4 Reply to this comment
It's still a c-client issue usually.
07/08/2005 02:32:35 AM loginadmin (at) gmail (dot) com Comment #3 Reply to this comment
I checked /var/log/messages, apache access_log, error_log, none of 
those have seg fault error.  I have tried to create an new email 
account.  As long as I send email with subject in English, I can see 
the mail listing just fine, but as soon as any email with subject 
other than English, the mail listing is gone.....
07/07/2005 10:50:27 AM Jan Schneider Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
Check your web server logs, your server is probably segfaulting which 
is most likely the fault of a broken c-client version.
07/07/2005 10:00:16 AM loginadmin (at) gmail (dot) com Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ No mail listing at all
Queue ⇒ IMP
New Attachment: mail.jpg Download
State ⇒ Unconfirmed
Reply to this comment
Basically, the inbox shows 350 Messages.  But there is no mail listing 
at all as you can see the the attached screenshots.  I found that if 
the mailbox contains email subject that is *not* in english, it will 
not display *any* email.

Saved Queries