[imp] Re: bug #1235

Jan Schneider jan at horde.org
Mon Feb 9 10:16:30 PST 2004


Zitat von stefan at adt.nu:

> Hello Jan,
>
> (Sorry for mailing directly instead of reopening/commenting on the bug,
> if this bothers you please say so and I'll comment on the bugpage
> instead)

Cc'ing the mailing list to have it in the archives.

> I had a problem with horde, as described in
> http://bugs.horde.org/show_bug.cgi?id=1235
>
> The problem was resolved, as suggested, by adding imap_errors(); to the
> end of prefs.php, but I find it very strange that such a change would fix my
> errors.
>
> -> The preference page works fine in Netscape, but not IE
> -> IE can read/send mail perfectly
> -> When I added imap_errors(), no errors were reported, but alas
>   somehow fixed the problem with IE.
>
>
> So, I'm very curious how or why it fixes the problem?

I am not sure, but here is my theory: If imap errors are not catched by
imap_errors(), they will be spit out by php's imap extension at shutdown
time. Because this happens after all page content has been sent to the
browser already, this might under certain circumstances (e.g. if enabling
page compression) cause problems with some browsers, while others just
ignore that output or handle it more gracefully.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list