On Sat, February 18, 2023 3:21 am, Alex wrote: > Hi, I'm sorry for the continuous emails - I'm trying to do this in > real-time. > > The session_regenerate_id() errors I reported above appear to be only > related to the lockout plugin. > > I've had to disable it for now. Please let me know if there's something I > can do to troubleshoot it further. The warning: "Warning: session_regenerate_id(): Session ID cannot be regenerated after headers have already been sent" is a byproduct of you having display_errors turned on and is not a problem itself. The prefs questions I asked earlier should be all you need to respond to pending what we find out from there. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php > On Fri, Feb 17, 2023 at 10:15 PM Alex <mysqlstudent@xxxxxxxxx> wrote: > >> Here is a collection of other errors, most of which appear to be related >> to problems with plugins >> >> Deprecated: Automatic conversion of false to array is deprecated in >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/file_prefs.php >> on line 74 >> Warning: session_regenerate_id(): Session ID cannot be regenerated after >> headers have already been sent in >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/src/redirect.php on >> line >> 123 >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/file_prefs.php:74) >> in /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/global.php >> on >> line 600 >> Deprecated: Automatic conversion of false to array is deprecated in >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/file_prefs.php >> on line 74 >> Deprecated: Automatic conversion of false to array is deprecated in >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/file_prefs.php >> on line 74 >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /usr/share/squirrelmail-stable-1.4.23-svn-021723/functions/file_prefs.php:74) >> in /usr/share/squirrelmail-stable-1.4.23-svn-021723/src/redirect.php on >> line 233 >> >> Thanks, >> Alex >> >> >> >> >> On Fri, Feb 17, 2023 at 9:49 PM Alex <mysqlstudent@xxxxxxxxx> wrote: >> >>> This looks to fix the previous error (it's an error, as it prevents the >>> saving of the new chosen theme) >>> >>> --- functions/options.php-str_replace 2023-02-17 21:29:06.106629935 >>> -0500 >>> +++ functions/options.php 2023-02-17 21:43:35.453838437 -0500 >>> @@ -1236,7 +1236,7 @@ >>> // all other widgets except TEXTAREAs should never be allowed to >>> have newlines >>> // >>> else if ($option->type != SMOPT_TYPE_TEXTAREA) >>> - $option->new_value = str_replace(array("\r", "\n"), '', >>> $option->new_value); >>> + $option->new_value = str_replace(array("\r", "\n"), '', >>> (string) >>> $option->new_value); >>> >>> >>> global $data_dir; >>> >>> >>> >>> On Fri, Feb 17, 2023 at 9:25 PM Alex <mysqlstudent@xxxxxxxxx> wrote: >>> >>>> Hi Paul, thanks so much for your help. Here is one of the warnings I'm >>>> receiving with the latest 1.4.23-svn, even after making sure >>>> display_errors >>>> is disabled (it always was) and now also disabled >>>> display_startup_errors. >>>> >>>> Deprecated: str_replace(): Passing null to parameter #3 ($subject) of >>>> type array|string is deprecated in >>>> /usr/share/squirrelmail-021223/functions/options.php on line 1239 >>>> Warning: Cannot modify header information - headers already sent by >>>> (output started at >>>> /usr/share/squirrelmail-021223/functions/options.php:1239) in >>>> /usr/share/squirrelmail-021223/functions/page_header.php on line 69 >>>> >>>> This happened when I chose a different theme. >>>> >>>> >>>> On Fri, Feb 17, 2023 at 9:25 AM Paul Lesniewski >>>> <paul@xxxxxxxxxxxxxxxx> >>>> wrote: >>>> >>>>> Alex, >>>>> >>>>> On Fri, February 17, 2023 2:14 pm, Alex wrote: >>>>> > Hi, I'm struggling with getting SM working properly. I previously >>>>> reported >>>>> > that I started using the version from SVN: >>>>> > >>>>> > Does the 1.4 tree have support for php-8.1 (yet)? >>>>> >>>>> So far, you've posted deprecation warnings. Please note that those >>>>> are >>>>> *not* incompatibilities. The actual problem is that you appear to >>>>> have >>>>> enabled display_errors in a production environment, which is not >>>>> something >>>>> you should be using. >>>>> >>>>> Of course, we do want to see deprecation warnings and we will fix >>>>> those, >>>>> so please send us whatever you see, and they'll be fixed as soon as >>>>> time >>>>> allows. >>>>> >>>>> -- >>>>> Paul Lesniewski >>>>> SquirrelMail Team >>>>> Please support Open Source Software by donating to SquirrelMail! >>>>> http://squirrelmail.org/donate_paul_lesniewski.php >>>>> >>>>> ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users