From: Paul L. <pa...@sq...> - 2025-04-22 05:22:02
|
On Tue, April 22, 2025 2:27 am, Harold Hallikainen via squirrelmail-users wrote: > Thanks! I'm getting this when I enable the filter plugin: > > Warning: Undefined variable $version in /etc/squirrelmail/config.php on > line 15 You probably have $version in the $org_title settings. There is no $version variable - SM_VERSION constant is what we use for that, though I never saw too much point in putting the version string into end user browser title bar... in some cases, that can also be a security problem. > Fatal error: Uncaught Error: Undefined constant "right_main" in > /usr/share/squirrelmail/plugins/filters/filters.php:220 Stack trace: #0 > /usr/share/squirrelmail/plugins/filters/setup.php(56): start_filters() #1 > /usr/share/squirrelmail/functions/plugin.php(217): start_filters_hook() #2 > /usr/share/squirrelmail/src/right_main.php(300): boolean_hook_function() > #3 {main} thrown in /usr/share/squirrelmail/plugins/filters/filters.php on > line 220 Silly mistake. "right_main" needs quotes around it. This has been fixed in our repository and will appear in our next nightly snapshot. Kind regards, -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |