Re: php-5.4.10-1 / avelsieve

"Scott Ruckh" <[email protected]> Fri, 4 Jan 2013 15:44:32 -0700
Newsgroups gmane.mail.squirrelmail.plugins
Message-ID <[email protected]>
Yo.   This is what you said earlier: Paul Lesniewski
>>> Peter
>>
>> It looks like I spoke too soon.
>>
>> Although the existing policies were displayed when clicking on the
>> "Filters" link, when attempting to create a new policy the following
>> error
>> is thrown:
>>
>> Fatal error: Call-time pass-by-reference has been removed in
>> /usr/local/squirrelmail/www/plugins/avelsieve/include/avelsieve_condition_datetime.class.php
>> on line 56
>>
>> This same error is also thrown if you attempt to add a rule directly
>> from
>> an email and clicking on one of the filter links.
>
> There is a newer version of the Server Settings Backend plugin (not
> yet publicly released, but available for the asking) that provides the
> ability to connect to a socket backend such as a Sieve server, and
> thus it can be used with the newest Server Side Filters plugin code.
> That may be a more actively maintained route you can take(?).
>
> --
> Paul Lesniewski
> SquirrelMail Team
> Please support Open Source Software by donating to SquirrelMail!
> http://squirrelmail.org/donate_paul_lesniewski.php

It looks like the following "hack" might have resolved this issue...

In the file
squirrelmail/www/plugins/avelsieve/include/avelsieve_condition_datetime.class.php:

Change line 56 from this
parent::__construct(&$s, $rule, $n);

to this
parent::__construct($s, $rule, $n);

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins