Re: Squirrelmail returns blank page after send (PHP 7: Warning: contains logs )
[email protected] Tue, 6 Dec 2016 16:31:14 +1300
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Now to return to the two "new" Deprecated mesages that fixing the exiting ones produced, namely Non-static method X should not be called statically which occured at /usr/pkg/share/squirrelmail/functions/mime.php on line 36 and /usr/pkg/share/squirrelmail/class/mime/Message.class.php on line 296 These two lines are, respectively $msg = Message::parseStructure($read,$i); and $msg = Message::parseBodyStructure($read, $i, $sub_msg); Replacing those two lines with, what this posting http://stackoverflow.com/questions/4684454/error-message-strict-standards-non-static-method-should-not-be-called-staticall suggests is "valid PHP from 5 to 7", so $msg = (new Message())->parseStructure($read,$i); and $msg = (new Message())->parseBodyStructure($read, $i, $sub_msg); does appear to get rid of the "Deprecated" messages that were being seen, whisly not affecting the functionality of our SquirrelMail installation. Hoping again, that that's useful. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel