Title: Re: [SM-USERS] HTTPS over port 80 / Cannot re-assign $this
Cameron Knowlton wrote:
I just had an epiphany that solved at least the HTTPS access over port 80 problem on Mac OS X, although it did then drop another problem on me  8^)

To solve the inadvertent IMAP secure access:
1) in Server Admin, change Mail/Settings/Advanced Settings/IMAP and POP SSL:  to 'Don't Use' (as opposed to either 'Use' or 'Require')

2) reboot the server

That now lets my login form authentication to go through (although it does take an* appreciable delay* to return the page now.)

Unfortunately, the original problem has cropped up, the one that started just after upgrading to AMAVIS and CLAMAV... when I do log in, I get the error:

Fatal error: Cannot re-assign $this in /usr/share/squirrelmail/class/mime/Message.class.php on line 187

I looked this code up, and got this:

------
    function parseBodyStructure($read, &$i, $sub_msg = '') {
        $arg_no = 0;
        $arg_a  = array();
        if ($sub_msg) {
            $message = $sub_msg;
        } else {
            $message = new Message();
        }
        $this = $message;   
        for ($cnt = strlen($read); $i < $cnt; ++$i) {
------

Line 187 is:
        $this = $message;   


I'm running:

OS X version 10.3.6
PHP version 5.0.2
SquirrelMail version 1.5.0

1.5.0 is badly out of date by now, and I think it is missing some key PHP 5 compatibility fixes.  If you want to use the development version of SM, you should always use a CVS snapshot (download on the web site in tarball format is available every day).

-paul

?? it says 1.50 is current on the download page...

http://www.squirrelmail.org/download.php

what am I missing?

thanks,
cam
-- 
-----------------------------------------------
Cameron Knowlton
iGods Internet Marketing
[EMAIL PROTECTED]
www.igods.com
P: 250.382.0226




-------------------------------------------------------
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: [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