[imp] Issue with imp 4.0.4

Michael M Slusarz slusarz at horde.org
Thu Jun 1 21:05:32 PDT 2006


Quoting tom burkart <imp at aussec.com>:

> Hi,
> Every now and then IMP 4.0.4 fails to load a message that contains
> images with the following PHP error message:
>
> [02-Jun-2006 11:02:23] PHP Fatal error:  Call to a member function on a
> non-object in <path to horde>/horde/imp/lib/MIME/Viewer/images.php on
> line 228
>
> The line in question is:
>   $ret = $img->loadString(1, $this->mime_part->getContents());
> Where $this->mime_part->getContents() correctly returns the image data
> but $img->loadString(...) is the one that causes the error.
>
> The sequence of events is as follows:
> First time:
>   The compound "if" on line 220 takes the "gd" option,
>   then successfully processes the image
>
> Second time:
>   The compound "if" on line 220 takes the "gd" option,
>   then bombs out at line 228
>
> As far as I can tell all the 5 JPEG images are properly formatted images.
>
> Please don't tell me to upgrade to 4.1.x as that one has problems
> talking to the uw-imap server (both an old one and the latest one).
> Have to do more work on that...

Well, we are going to tell you to upgrade to 4.1.x.  Because this  
issue has been fixed there months ago.

BTW, 4.1.x has absolutely no problems talking to a correctly  
configured uw-imap server so not quite sure what you are talking about  
there.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the imp mailing list