Problems when there are attachments with squirrelmail

ronbell

Verified User
Joined
Jan 1, 2006
Messages
12
Location
Brisbane Australia
Something strange with squirrelmail

It all apears fine with normal emails, tested it extensivly.. HOWEVER, if i send an attachment ( exact attachment enclosed for reference )
thats when the problems start.

This is what i do .. step by step

login to squirrel mail
click on inbox
click on subject of received email ( email then opens )
scroll to bottom and click on view attachemnt ( this case a jpg )
i get the image on the screen - so far so good.
re-click back on inbox
relick back on subject of received email ( want to re-open it ) and.....

Fatal error: Call to a member function on a non-object in /var/www/html/squirrelmail-1.4.5/src/read_body.php on line 431


This only happens if there are attachments.

Did a search on the forum can't seem to find anything.

Any ideas ?

Ron

** 31 Jan 2006 **

Hi guys Ron Here again , I have a solution to this.

http://cvs.sf.net/viewcvs.py/squirrelmail/squirrelmail/src/download.php?r1=1.107.2.8&r2=1.107.2.10

THanks to the guys at squirrelmail, This fix took about 10 seconds to put in and it's a known bug !

Anyway all fixed. Ron is a happy chappy..!
 

Attachments

  • diy skype.jpg
    diy skype.jpg
    29 KB · Views: 173
Last edited:
Hello,

After hunting around with google, it might be an issue with php.. there were no concrete solutions, but one suggestion is to go back to php 4.3.11.

http://comments.gmane.org/gmane.mail.squirrelmail.user/22464
Code:
cd /usr/local/directadmin/customapache
perl -pi -e 's/4.4.2/4.3.11/' build
./build update_data
./build clean
./build php n
You might also try to convert to Doveot if wu-imap might be the cause.
http://www.directadmin.com/features.php?id=590

Also, there is /webmail which may act differently. Just something else to test.

John
 
Back
Top