I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [X]  False - Please CC me when replying

This bug occurs when I ...

Login with Squirrel 1.5 and PHP5b4


The description of the bug:

PHP5's stricter compiler will barf at squirrel 1.5 code.

I can reproduce the bug by:

Running SQ 1.5 with PHP5beta4

(Optional) I got bored and found the bug occurs in:

PHP Fatal error:  Cannot re-assign $this in
/var/www/html/webmail/class/mime/Message.class.php on line 187


(Optional) I got really bored and here's a fix:

Checked out the code in question and PHP5 compiler is correct in
generating this error. $this within a class object refers to the object
itself and the value of $this should never be changed. To set the actual
object to another object, it should be done outside of the object itself.


----------------------------------------------

My browser information:
  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206
Firefox/0.8

My web server information:
  PHP Version 4.3.4
  PHP Extensions (List)
    * 0 = xml
    * 1 = tokenizer
    * 2 = standard
    * 3 = sockets
    * 4 = session
    * 5 = pspell
    * 6 = posix
    * 7 = pcre
    * 8 = overload
    * 9 = mysql
    * 10 = gd
    * 11 = exif
    * 12 = ctype
    * 13 = zlib

SquirrelMail-specific information:
  Version:  1.5.0
  Plugins (List)
    * 0 = spamcop
    * 1 = bug_report

My IMAP server information:
  Server type:  other
  Server info:  * OK [HIDDEN] imap (protocol version 4r1) server 1.2 ready
to run
  Cabailities:  IMAP4 IMAP4rev1 AUTH=LOGIN


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
--
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

Reply via email to