From: Scott R. <sr...@ge...> - 2012-12-26 23:07:26
|
SquirrelMail version: 1.4.23 (SVN 2012-12-21) Every plugin installed: (change_sqlpass, delete_move_next, select_range, javascript_libs, custom_from, avelsieve) PHP version: (php-5.4.10-1) Web server Apache (httpd-2.2.3-65), lighttpd (lighttpd-1.4.31-1) IMAP server (cyrus-imapd-2.4.16-1) SMTP server (postfix-2.9.1-1) OS and, if applicable, distribution (CentOS Linux 5.8 x64, kernel 2.6.18-308.24.1) PHP was recently upgraded to PHP 5.4. Squirrelmail upgraded to SVN version 1.4.23 (from Dec 21, 2012). It appears that after PHP upgrade the avelsieve plugin (avelsieve-1.9.9) no longer functions. The avelsieve web site suggests using this mailing list for primary support for the plugin. When the "Filters" link is clicked on from the main menu an empty blank white screen is given. The expected result is for a list of the configured sieve rules to be displayed. If PHP errors are turned on, the following errors are displayed: These errors are displayed right after logging into squirrelmail, when the main interface is displayed. Deprecated: Function ereg() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 441 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 457 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 457 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 887 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 887 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 887 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 142 Deprecated: Function split() is deprecated in /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php on line 142 Strict Standards: Non-static method DO_Sieve::decode_script() should not be called statically in /usr/local/squirrelmail/www/plugins/avelsieve/include/sieve_getrule.inc.php on line 67 Select Range This error is displayed when clicking on the "Filters" link. Fatal error: Call to undefined function session_unregister() in /usr/local/squirrelmail/www/plugins/avelsieve/include/html_rulestable.inc.php on line 164 This plugin has not been updated in quite a long time, is it actively maintained? Thank You. Scott -- |
From: Peter S. <pe...@rf...> - 2012-12-27 17:45:24
Attachments:
signature.asc
|
Hi, I had the same issue and created a patch for avelsieve to run on PHP 5.3. and higher: http://www.rfc3092.net/projects/avelsieve/ That should take care of the warnings for split() and other deprecated functions. Not sure if that also fixes the other problem. Maybe give it a shot and let me know. FYI, that is just a patch and not the official version or a branch. AFAIK that patch was incorporated into the official version but so far there no new version including the patch was released. Peter On 12/26/2012 05:45 PM, Scott Ruckh wrote: > SquirrelMail version: 1.4.23 (SVN 2012-12-21) > Every plugin installed: (change_sqlpass, delete_move_next, select_range, > javascript_libs, custom_from, avelsieve) > PHP version: (php-5.4.10-1) > Web server Apache (httpd-2.2.3-65), lighttpd (lighttpd-1.4.31-1) > IMAP server (cyrus-imapd-2.4.16-1) > SMTP server (postfix-2.9.1-1) > OS and, if applicable, distribution (CentOS Linux 5.8 x64, kernel > 2.6.18-308.24.1) > > PHP was recently upgraded to PHP 5.4. Squirrelmail upgraded to SVN > version 1.4.23 (from Dec 21, 2012). > > It appears that after PHP upgrade the avelsieve plugin (avelsieve-1.9.9) > no longer functions. > > The avelsieve web site suggests using this mailing list for primary > support for the plugin. > > When the "Filters" link is clicked on from the main menu an empty blank > white screen is given. The expected result is for a list of the > configured sieve rules to be displayed. > > If PHP errors are turned on, the following errors are displayed: > > These errors are displayed right after logging into squirrelmail, when the > main interface is displayed. > Deprecated: Function ereg() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 441 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 457 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 457 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 887 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 887 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 887 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 142 Deprecated: Function split() is deprecated in > /usr/local/squirrelmail/www/plugins/avelsieve/include/managesieve.lib.php > on line 142 Strict Standards: Non-static method DO_Sieve::decode_script() > should not be called statically in > /usr/local/squirrelmail/www/plugins/avelsieve/include/sieve_getrule.inc.php > on line 67 Select Range > > This error is displayed when clicking on the "Filters" link. > Fatal error: Call to undefined function session_unregister() in > /usr/local/squirrelmail/www/plugins/avelsieve/include/html_rulestable.inc.php > on line 164 > > This plugin has not been updated in quite a long time, is it actively > maintained? > > Thank You. > Scott > > -- /"\ | Peter Senft \ / ASCII ribbon campaign | E-Mail : pe...@du... X against HTML mail | Jabber : du...@ja... / \ | ICQ : 62090394 -- /"\ | Peter Senft \ / ASCII ribbon campaign | E-Mail : pe...@rf... X against HTML mail | Jabber : du...@ja... / \ | ICQ : 62090394 |
From: Scott R. <sr...@ge...> - 2013-01-03 17:59:44
|
Yo. This is what you said earlier: Peter Senft > Hi, > > I had the same issue and created a patch for avelsieve to run on PHP > 5.3. and higher: > > http://www.rfc3092.net/projects/avelsieve/ > > That should take care of the warnings for split() and other deprecated > functions. Not sure if that also fixes the other problem. Maybe give it > a shot and let me know. > > FYI, that is just a patch and not the official version or a branch. > AFAIK that patch was incorporated into the official version but so far > there no new version including the patch was released. > > 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. Thank You. Scott |
From: Scott R. <sr...@ge...> - 2012-12-28 00:58:21
|
Yo. This is what you said earlier: Peter Senft > Hi, > > I had the same issue and created a patch for avelsieve to run on PHP > 5.3. and higher: > > http://www.rfc3092.net/projects/avelsieve/ > > That should take care of the warnings for split() and other deprecated > functions. Not sure if that also fixes the other problem. Maybe give it > a shot and let me know. > > FYI, that is just a patch and not the official version or a branch. > AFAIK that patch was incorporated into the official version but so far > there no new version including the patch was released. > > Peter I downloaded avelsieve-1.9.9-hps.tar.gz from the link you provided above. I renamed my current avelsieve directory, and unpacked your tarball archive into the squirrelmail plugin directory. I copied my existing config.php to the newly unpacked avelsieve/config directory (I believe this is the default config.php file). I did not have debugging turned on nor did I enable displaying PHP errors, but the avelsieve rules are now displayed upon clicking the "Filters" link. I will have to test further, but your patches are definitely better than before. Thank you for your work, being part of the community and taking the time to respond the my note. Your time and work is much appreciated. Thank You. |
From: Scott R. <sr...@ge...> - 2013-01-01 17:12:57
|
Yo. This is what you said earlier: Scott Ruckh > > Yo. This is what you said earlier: Peter Senft >> Hi, >> >> I had the same issue and created a patch for avelsieve to run on PHP >> 5.3. and higher: >> >> http://www.rfc3092.net/projects/avelsieve/ >> >> That should take care of the warnings for split() and other deprecated >> functions. Not sure if that also fixes the other problem. Maybe give it >> a shot and let me know. >> >> FYI, that is just a patch and not the official version or a branch. >> AFAIK that patch was incorporated into the official version but so far >> there no new version including the patch was released. >> >> Peter > > I downloaded avelsieve-1.9.9-hps.tar.gz from the link you provided above. > I renamed my current avelsieve directory, and unpacked your tarball > archive into the squirrelmail plugin directory. I copied my existing > config.php to the newly unpacked avelsieve/config directory (I believe > this is the default config.php file). > > I did not have debugging turned on nor did I enable displaying PHP errors, > but the avelsieve rules are now displayed upon clicking the "Filters" > link. > > I will have to test further, but your patches are definitely better than > before. Thank you for your work, being part of the community and taking > the time to respond the my note. Your time and work is much appreciated. > > Thank You. Just an FYI -- Although it does not seem to be an issue, the following error is displayed from the main screen after a successful login when display_errors is enabled. Strict Standards: Non-static method DO_Sieve::decode_script() should not be called statically in /usr/local/squirrelmail/www/plugins/avelsieve/include/sieve_getrule.inc.php on line 67 Select Range Thank You. |
From: Brendan P. <br...@db...> - 2012-12-31 05:26:33
|
I've tried installing the patched version but having trouble, I get a blank page when trying to add a rule. If anyone else if using dovecot could they please send me their config.php file for comparison. Thanks Brendan |
From: Peter S. <du...@gm...> - 2013-01-03 20:12:06
Attachments:
signature.asc
|
Hi, that sounds odd. Which version of PHP do you use? Peter On 12/30/2012 11:57 PM, Brendan Pike wrote: > I've tried installing the patched version but having trouble, I get a > blank page when trying to add a rule. > > If anyone else if using dovecot could they please send me their > config.php file for comparison. > > Thanks > Brendan > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 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_122412 > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- /"\ | Peter Senft \ / ASCII ribbon campaign | E-Mail : du...@gm... X against HTML mail | Jabber : du...@ja... / \ | ICQ : 62090394 |
From: Scott R. <sr...@ge...> - 2013-01-03 17:59:48
|
Yo. This is what you said earlier: Peter Senft > Hi, > > I had the same issue and created a patch for avelsieve to run on PHP > 5.3. and higher: > > http://www.rfc3092.net/projects/avelsieve/ > > That should take care of the warnings for split() and other deprecated > functions. Not sure if that also fixes the other problem. Maybe give it > a shot and let me know. > > FYI, that is just a patch and not the official version or a branch. > AFAIK that patch was incorporated into the official version but so far > there no new version including the patch was released. > > 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. Thank You. Scott |
From: Peter S. <du...@gm...> - 2013-01-03 20:12:06
Attachments:
signature.asc
|
Scott, I guess I have to take look at my patch then. A problem might be that I don't have PHP 5.4 installed yet. So, I hope I can reproduce the error on 5.3. Peter On 01/03/2013 12:59 PM, Scott Ruckh wrote: > > Yo. This is what you said earlier: Peter Senft >> Hi, >> >> I had the same issue and created a patch for avelsieve to run on PHP >> 5.3. and higher: >> >> http://www.rfc3092.net/projects/avelsieve/ >> >> That should take care of the warnings for split() and other deprecated >> functions. Not sure if that also fixes the other problem. Maybe give it >> a shot and let me know. >> >> FYI, that is just a patch and not the official version or a branch. >> AFAIK that patch was incorporated into the official version but so far >> there no new version including the patch was released. >> >> 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. > > Thank You. > > Scott > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > -- /"\ | Peter Senft \ / ASCII ribbon campaign | E-Mail : pe...@du... X against HTML mail | Jabber : du...@ja... / \ | ICQ : 62090394 |
From: Paul L. <pa...@sq...> - 2013-01-03 23:04:10
|
On Thu, Jan 3, 2013 at 9:59 AM, Scott Ruckh <sr...@ge...> wrote: > > Yo. This is what you said earlier: Peter Senft >> Hi, >> >> I had the same issue and created a patch for avelsieve to run on PHP >> 5.3. and higher: >> >> http://www.rfc3092.net/projects/avelsieve/ >> >> That should take care of the warnings for split() and other deprecated >> functions. Not sure if that also fixes the other problem. Maybe give it >> a shot and let me know. >> >> FYI, that is just a patch and not the official version or a branch. >> AFAIK that patch was incorporated into the official version but so far >> there no new version including the patch was released. >> >> 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 |
From: Scott R. <sr...@ge...> - 2013-01-04 22:44:31
|
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); |
From: Brendan P. <br...@db...> - 2013-01-07 05:39:33
|
Excellent! I can confirm that this patch fixed my debian installation also. Well done. On 05/01/13 09:14, Scott Ruckh wrote: > 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: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins |