On Mon, 2005-06-20 at 11:49 -0700, Paul Lesneiwski wrote:
> 
> Sven Willenberger wrote:
> > System Details:
> > FreeBSD 5.2.1-p9
> > Squirrelmail 1.4.4
> > Courier Imap 3.03
> > Apache 2.0.50
> > php 5.0.1
> > 
> > Plugins:
> > $plugins[0] = 'message_details';
> > $plugins[1] = 'vlogin';
> > $plugins[2] = 'abook_group';
> > $plugins[3] = 'tmdatools';
> > $plugins[4] = 'preview_pane';
> > $plugins[5] = 'unsafe_image_rules';
> > $plugins[6] = 'quota_usage';
> > $plugins[7] = 'filters';
> > $plugins[8] = 'calendar';
> > $plugins[9] = 'compatibility';
> > $plugins[10] = 'smallcal';
> > $plugins[11] = 'timeout_user';
> > $plugins[12] = 'login_auto';
> > $plugins[13] = 'view_as_html';
> > $plugins[14] = 'address_add';
> > 
> > Summary of problem:
> > When viewing images either inline or sent as attachments, an error
> > occurs:
> > 'The image
> > "http://<mailserver>/src/download.php?startMessage=1&passed_id=75&mailbox=INBOX&ent_id=2&passed_ent_id=0"
> >  cannot be displayed, because it contains errors."
> > 
> > The "inlined" image just diplays as a broken image; if I download the
> > image it is also broken after download (the gimp cannot open it as the
> > image begins with "0x0a 0xff"). However, if I then forward this email to
> > another account and use a client (evolution for example) the image
> > displays fine. Also, if, instead of using squirrelmail, I view the
> > message in the original account using a client (evolution or
> > thunderbird) it views fine. Any ideas on where to begin troubleshooting
> > this?
> 
> Only time I've ever seen this is when there are extra spaces in a plugin
> config file; either after the trailing ?> or before the beginning <?php
> 
> You can check this the easiest by deactivating all plugins and giving it
> a try.
> 
> -paul
> 
Thanks for the suggestion. It was not actually a plugin but an extra
newline at the end of one of the php files in the functions directory
(more than likely mailbox_display as I have added a "sort by size"
option) that was the culprit here. I found 5 files that had such
newlines and I removed the extra newlines which then resulted in proper
image display.

Thanks

Sven



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to