A top-post just for the archives...  :)

This turned out to be a bad PHP/Apache installation that was
munging PHP session data.  The message was being retrieved
from the IMAP server correctly, but once it was placed into
session, it was corrupted, thus the error message would only
appear the second time the message was viewed.

https://sourceforge.net/tracker/?func=detail&atid=100311&aid=1256762&group_id=311


Michael Long wrote:
> We are having problems with certain attachments in SquirrelMail. I have
> not narrowed down all of the possible variations, but if I send a
> mime-encoded email with HTML and an inline image (with Thunderbird), it
> is always has a problem with it. If I view the same email in
> Thunderbird, it looks fine.
> 
> But in SquirrelMail 1.4.5, if I click 'View as HTML', I get:
> 
> *Fatal error*: Call to a member function on a non-object in
> */web/https-mail/docs/functions/mime.php* on line *446
> 
> *I do see my signature displayed, but not the image
> 
> In SquirrelMail 1.5.1, the first time I click, I do not see the 'View as
> HTML' option (I guess thats from the plugin), but I also don't see
> anything but my signature. There is no image listed at all. If I do
> Prev, then Next, I see this error:
> 
> *Fatal error*: Call to a member function on a non-object in
> */web/https-test15/docs/functions/mime.php* on line *518*
> 
> I believe the issue may be related to us using PMDF IMAP Server (under
> OpenVMS). If I CC the email to a server with UWIMAPd and squirrelmail
> 1.5, it seems to work just fine.
> 
> I have attached some text files showing the output of both servers
> (troublemail from PMDF, and goodmail from UWIMAP), as well as the
> bodystructure information. In the actual bodystructure output from the
> two text files, I see that UWIMAP returns 6 more NILs than the PMDF one
> has. I don't know if this makes any difference though. The body seems to
> be the same.
> 
> I am running apache 2.0.53 with mod_ssl 2.0.53, openssl 0.9.7e, and PHP
> 4.3.10
> Plugins: sent_subfolders, message_details, translate, newmail,
> delete_move_next, squirrelspell,
>  abook_import_export, address_add, select_range, twc_weather, html_mail,
> vlogin, addgraphics, bounce,
>  abook_take, compatibility, xheader, empty_trash, attachment_tnef,
> get_uuencode, view_as_html
> 
> The 1.5.1 version only has plugins: message_details, info,
> administrator, listcommands
> 
> -- 
> 
> Michael Long
> Application Development & System Planning
> Spirit Telecom
> 
> 
> ------------------------------------------------------------------------
> 
> BAD
> 
> 
> * OK PACS09.INFOAVE.NET IMAP4rev1 Server PMDF V6.2-X29.1 at Thu, 4 Aug 2005 
> 15:35:29 PST
> 
> 
> * 8 FETCH (BODY (("TEXT" "PLAIN" ("CHARSET" "ISO-8859-1" "FORMAT" "flowed") 
> NIL NIL "7BIT" 84 7)(("TEXT" "HTML" ("CHARSET" "ISO-8859-1") NIL NIL "7BIT" 
> 438 15)("IMAGE" "JPEG" ("NAME" "toolkitmail_webmail_demo_lo.jpg") "<[EMAIL 
> PROTECTED]>" NIL "BASE64" 7720) "RELATED") "ALTERNATIVE"))
> m4 OK FETCH completed
> 
> 
> mp9 fetch 8 (BODYSTRUCTURE)
> * 8 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "ISO-8859-1" "FORMAT" 
> "flowed") NIL NIL "7BIT" 84 7 NIL NIL NIL)(("TEXT" "HTML" ("CHARSET" 
> "ISO-8859-1") NIL NIL "7BIT" 438 15 NIL NIL NIL)("IMAGE" "JPEG" ("NAME" 
> "toolkitmail_webmail_demo_lo.jpg") "<[EMAIL PROTECTED]>" NIL "BASE64" 7720 
> NIL ("INLINE" ("FILENAME" "toolkitmail_webmail_demo_lo.jpg")) NIL) "RELATED" 
> ("BOUNDARY" "------------010303060305090107050108") NIL NIL) "ALTERNATIVE" 
> ("BOUNDARY" "------------070107050309060908050500") NIL NIL))
> mp9 OK FETCH completed
> 
> 
> 
> mp7 fetch 8 body[text]
> * 8 FETCH (BODY[TEXT] {9034}
> This is a multi-part message in MIME format.
> --------------070107050309060908050500
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> GOOD 
> 
> 
> * OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS STARTTLS 
> AUTH=CRAM-MD5 AUTH=LOGIN] server.mlong.us IMAP4rev1 2004.352 at Mon, 8 Aug 
> 2005 10:23:12 -0400 (EDT)
> 
> 
> mp6 fetch 58 body
> * 58 FETCH (BODY (("TEXT" "PLAIN" ("CHARSET" "ISO-8859-1" "FORMAT" "flowed") 
> NIL NIL "7BIT" 84 7)(("TEXT" "HTML" ("CHARSET" "ISO-8859-1") NIL NIL "7BIT" 
> 438 15)("IMAGE" "JPEG" ("NAME" "toolkitmail_webmail_demo_lo.jpg") "<[EMAIL 
> PROTECTED]>" NIL "BASE64" 7720) "RELATED") "ALTERNATIVE"))
> mp6 OK FETCH completed
> 
> 
> mp6 fetch 58 (bodystructure)
> * 58 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "ISO-8859-1" "FORMAT" 
> "flowed") NIL NIL "7BIT" 84 7 NIL NIL NIL NIL)(("TEXT" "HTML" ("CHARSET" 
> "ISO-8859-1") NIL NIL "7BIT" 438 15 NIL NIL NIL NIL)("IMAGE" "JPEG" ("NAME" 
> "toolkitmail_webmail_demo_lo.jpg") "<[EMAIL PROTECTED]>" NIL "BASE64" 7720 
> NIL ("INLINE" ("FILENAME" "toolkitmail_webmail_demo_lo.jpg")) NIL NIL) 
> "RELATED" ("BOUNDARY" "------------010303060305090107050108") NIL NIL NIL) 
> "ALTERNATIVE" ("BOUNDARY" "------------070107050309060908050500") NIL NIL 
> NIL))
> mp6 OK FETCH completed
> 
> 
> 
> mp5 fetch 58 body[text]
> * 58 FETCH (BODY[TEXT] {9032}
> This is a multi-part message in MIME format.
> --------------070107050309060908050500
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 

-- 
__________________________
Open Guild, LLC
http://openguild.net/
Software.Systems.Solutions


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
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