From: Harold H. <ha...@ha...> - 2025-04-22 02:27:47
|
Thanks! I'm getting this when I enable the filter plugin: Warning: Undefined variable $version in /etc/squirrelmail/config.php on line 15 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 The warning is there whether the plugin is enabled or not (and not fatal). THANKS! Harold On Sun, April 20, 2025 9:43 pm, Paul Lesniewski wrote: > Harold, > > A blank page is usually caused by an error that you can find in your logs. > More info: > https://www.squirrelmail.org/docs/admin/admin-11.html#ss11.1 > > Cheers, > -- > Paul Lesniewski > SquirrelMail Team > Please support Open Source Software by donating to SquirrelMail! > http://squirrelmail.org/donate_paul_lesniewski.php > > > On Mon, April 21, 2025 2:13 am, Harold Hallikainen via squirrelmail-users > wrote: >> THANKS! I copied the snapshot over my installation. Now the error >> message >> does not show up, but nothing shows in the right pane after selecting a >> folder. I compared the patch file to my filters.php, and the file agrees >> with the patch. >> >> The folder order in the left pane is also different from my previous >> installation. Subfolders are fixed (for example, I have a folder called >> Roku that is followed by another called RST that has several subfolders. >> In my existing installation the RST subfolders would show up under Roku, >> and the RST folder did not show up at all. Now, it behaves correctly >> with >> the RST subfolders showing up under RST). However, folders that start >> with >> a number are now at the end of the folder list in the left pane instead >> of >> at the beginning. On the old installation, the left pane folder list >> goes: >> INBOX, Drafts, Sent, Trash, _SPAM, 1&1, 1-Priority Personal, 2-Mailing >> lists... >> >> On the new installation, it goes: INBOX, Drafts, Sent, Trash, _SPAM, >> ABMX... >> >> At the very end of the left pane folder list, I find: ZoomSearch, 1&1, >> 1-PriorityPersonal, 2-MailingLists... >> >> THANKS! >> >> Harold >> >> >> On Sun, April 20, 2025 12:07 am, Paul Lesniewski wrote: >>> >>>> On Thu, April 17, 2025 10:52 am, Harold Hallikainen wrote: >>>>> First off, THANK YOU for the maintenance on SquirrelMail. I've been >>>>> using >>>>> it a long time, perhaps 20 or 25 years. >>> >>> Thanks, that's nice to hear. >>> >>>>> I'm working on a server migration (every 5 years or so). The >>>>> ConfigTest >>>>> output is attached. I've run into the following issues: >>>>> >>>>> 1. Message Filters - If the plugin is enabled, the right panel shows >>>>> the >>>>> warning: >>>>> >>>>> SquirrelMail notice messages >>>>> Category: PHP >>>>> Message: Trying to access array offset on value of type null >>>>> FILE: /usr/share/squirrelmail/plugins/filters/filters.php >>>>> LINE: 219 >>> >>> This has been fixed and will appear in the next nightly snapshot, or >>> find >>> the patch here: >>> https://sourceforge.net/p/squirrelmail/code/15039/ >>> >>> If there are any further issues with the wrong mailbox showing up (I >>> can't >>> replicate that issue), we'll need more details or help reproducing it. >>> >>> -- >>> Paul Lesniewski >>> SquirrelMail Team >>> Please support Open Source Software by donating to SquirrelMail! >>> http://squirrelmail.org/donate_paul_lesniewski.php >>> >>> >>> >>>>> If I set a filter on the subject, messages matching the filter >>>>> disappear >>>>> from the inbox. Selecting other folders on the left pane results in a >>>>> redraw of the right pane, but it is the same as the inbox. Looking at >>>>> the >>>>> email in Alpine, I see that the message did indeed move to the >>>>> destination >>>>> folder. >>>>> >>>>> Using conf.pl to remove the filters plugin resolves these issues. >>>>> >>>>> ======================================================================== >>>>> >>>>> 2. Left pane folder order. I have a few folders that start with a >>>>> number. >>>>> In previous versions of SM, these were at the top of the list, but in >>>>> 1.52, they are at the bottom. >>>>> >>>>> THANKS! >>>>> >>>>> Harold >>> >>> > > > > ----- > squirrelmail-users mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.user > List info (subscribe/unsubscribe/change options): > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > -- Not sent from an iPhone. |