David Rees <drees <at> greenhydrant.com> writes:

> 
> First off, this appears to be a problem that others have experienced before:
> 
> http://sourceforge.net/mailarchive/forum.php?thread_id=3384077&forum_id=2995
> http://article.gmane.org/gmane.mail.squirrelmail.devel/5217
> 
> But no solutions posted in any threads I found besides "check the SM 
> requirements".
> 
> Here's my details:
> 
> dovecot-0.99.13-3.FC3
> PHP 4.3.10 (self compiled with '--with-mysql --with-pgsql --with-gettext 
> --with-openssl'
> Apache 2.0.52 (self compiled)
> Fedora Core 3
> Squirrelmail 1.4.4
> No additional plugins besides shipped
> 
> Error message when viewing an attached email:
> 
> PHP Notice:  Undefined property:  header in 
> /squirrelmail-1.4.4/src/read_body.php on line 767, referer: 
> /src/read_body.php?mailbox=INBOX&passed_id=12749&startMessage=1
> PHP Fatal error:  Call to undefined function:  finddisplayentity() in 
> /squirrelmail-1.4.4/src/read_body.php on line 807, referer: 
> /src/read_body.php?mailbox=INBOX&passed_id=12749&startMessage=1
> 
> Message when trying to view the email with the attachment again:
> 
> PHP Fatal error:  Call to a member function on a non-object in 
> /squirrelmail-1.4.4/class/mime/Message.class.php on line 680, referer: 
> /src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX
> 
> Any ideas?
> 
> Thanks,
> Dave



I am getting the same error as well. I am using php-4.3.10 and apache-1.3.33. I
am getting the same errors on both squirrelmail-1.4.3a and 1.4.4. These errors
were not happening until recently. However if I downgrade the php I am using to
php-4.3.2 I no longer have the problem. The issue with this is that < php-4.3.10
has vulnerabilities and I would rather not use it. 

Any idea what with php could be causing the issue with the new version but not
an old one? 

My configure flags for php are:
--prefix=/pkg/php-4.3.10 --enable-shared=no --with-curl
--with-ssl=/usr/local/ssl --with-openssl=/usr/local
--with-imap=/devel/build/NetBSD/imap/imap-uw/imap-2004
--with-imap-ssl=/usr/local/ssl --with-mysql=/pkg/mysql-3.23.46
--enable-discard-path --with-config-file-path=/etc/conf/php/$PRODUCT --with-xml
--libdir=/pkg/php-4.3.10/libdata/php-4.3.10
--with-apxs=/pkg/apache-1.3.33/bin/apxs --with-pic --with-gd
--with-jpeg-dir=/usr/local --with-zlib-dir=/usr/local --with-mcrypt=/usr/local
--enable-ftp


There was one thread that suggested turning register_globals to off. However
that didn't make a difference either.

-Jessica






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
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