Hi, I have recently upgraded to Squirrelmail 1.4.3a (from 1.0.6!) and now find that I can no longer download attachments. I am running PHP 4.0.6-13 on a Redhat Linux 7.0 (kernel 2.2.19-5) with apache 1.3.27-1.7.1
1) If you open a message which contains attachments. 2) Scroll to the attachment section and click on the attachment name, you see the raw file output, but if you then click the browser back button you get the following error. Fatal error: Call to a member function on a non-object in /opt/snet/web/htdocs/mail/class/mime/Message.class.php on line 680 At this point any new message you click on you receive this error. You must logout and in again. 3) Once logged back in scroll to the attachments and this time click the download link on the right side. 4) The download window will open, but the "Content-Disposition", "attachment; filename= " ( this is what it's called in the .asp world) misreports the file name as "untitledx.mixed", the x is the attachment number, 1,2,3,4 etc. 5) Download the document to your decktop. 6) Change the file extension to the correct extension i.e. mixed to doc or whatever it should be, or use right click "Save as..." 7) Try opening the file, each program acts differently from file conversion error in the case of pdf's to Word installing import converters and then displaying the raw file output you see when we open the file directly in SquirrelMail as above (steps 1-2). I've searched the archives and found the following similiar problems but no solutions, can anyone point me in the right direction? Thanks > From: Luca Paglieri <[EMAIL PROTECTED]> > PHP-SM error in managing attachments > 2004-03-23 06:27 > Dear all, > I"m upgrading to SM 1.4.2, with PHP 4.0.6, on a Linux R.H. 7.2 system. > Every time I access for the SECOND time a message with an attachment, I > get this error > Fatal error: Call to a member function on a non-object in > SM_PATH/class/mime/Message.class.php on line 680 > Logging out and in again gives access to the message, but again only for a > single time. > I know this is a PHP error, but I"m not able to deal with it. I suppose SM > 1.4.2 is compatible with PHP 4.0.6. > I"ve searched for documentation, but it seems that nobody else has > reported the same error. > Could any of you point me to any documentation, or give me a hint? > Thank you very much > luca > From: Tomas Kuliavas <[EMAIL PROTECTED]> > Re: Can"t download attachments in v.1.4.1 > 2004-02-25 01:57 >> I have SquirrelMail v1.2.6, v1.4.1 and v1.5.0, Linux, Apache/1.3.26 >> >> In v.1.4.1 and v.1.5.0 I can"t download attachments. It shows a correct >> file name and file type =application/x-zip-compressed in the message >> frame, but when I try to download the atttached file I get message >> "File name: test.mixed" or "File name untitled.mixed" >> and no type at all. Attachments used to work better in v1.2.6, but there I >> could not read Russian messages written in OutlookExpress with >> Cyrillic-Windows. > cp1251 problem can be fixed by porting i18n patches from 1.2.11 or 1.4.2. >> Also, if I open emails with attachments more than once I receive the >> following message: > >> Fatal error: Call to a member function on a non-object in >> //class/mime/Message.class.php on line 685 >> >> How to fix these two problems ? > Which php version you are using? > -- > Tomas ---- Ragnar Paulson [EMAIL PROTECTED] The Software Group Limited 705 725 9999 x21 1.618033989 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
