Re: PHP5 -> PHP7 with SquirrelMail 1.4.22 causes large quantity of error_log warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have exactly the same problem and posted about it on July 4.  I ended up on a business trip and haven't had time to deal with it, but the results I got from others are very promising.  Below is the promising reply I got.  Excited to see this has been worked on.

https://sourceforge.net/p/squirrelmail/mailman/message/35200210/

If it works for you, send me an email.  I'd like to know how it turned out.  If you have trouble/questions, I'll make time to fix mine so that I can help you out.  So far, only junk mail has been goofing over here, so I haven't made it a priority yet.

Rick

On 7/10/2016 at 8:59 AM, "Craig Arno" <craig@xxxxxxxx> wrote:
>
>Moved my working SquirrelMail 1.4.22 installation/config to the 
>new 
>Ubuntu 16.04 LTR platform.  Now occasionally INBOX message lines 
>are 
>missing [From and/or Subject will be blank, the line with Date 
>istill 
>shows] and I see these messages in my Apache 2.4 error_log:
>
>[Sat Jul 09 22:11:22.905334 2016] [:error] [pid 18805] [client 
>50.46.232.213:41874] PHP Warning: *preg_replace()*: The */e 
>modifier* is 
>no longer supported, use *preg_replace_callback* instead in 
>/home/www/public/squirrelmail/functions/*mime.php on line 705*, 
>referer: 
>https://mydomain.com/squirrelmail/src/webmail.php
>
>[Sat Jul 09 22:11:22.930801 2016] [:error] [pid 18805] [client 
>50.46.232.213:41874] PHP Warning: *preg_replace()*: The */e 
>modifier* is 
>no longer supported, use *preg_replace_callback* instead in 
>/home/www/public/squirrelmail/functions/decode/*utf_8.php on line 
>77*, 
>referer: https://mydomain.com/squirrelmail/src/webmail.php
>[Sat Jul 09 22:11:22.930816 2016] [:error] [pid 18805] [client 
>50.46.232.213:41874] PHP Warning: *preg_replace()*: The */e 
>modifier* is 
>no longer supported, use *preg_replace_callback* instead in 
>/home/www/public/squirrelmail/functions/decode/*utf_8.php on line 
>82*, 
>referer: https://mydomain.com/squirrelmail/src/webmail.php
>[Sat Jul 09 22:11:22.930827 2016] [:error] [pid 18805] [client 
>50.46.232.213:41874] PHP Warning: *preg_replace()*: The */e 
>modifier* is 
>no longer supported, use *preg_replace_callback* instead in 
>/home/www/public/squirrelmail/functions/decode/*utf_8.php on line 
>87*, 
>referer: https://mydomain.com/squirrelmail/src/webmail.php
>
>Good news is it looks like only 4 lines in two files containing 
>preg_replace() need to be modified for PHP7 to use a  
>preg_replace_callback().  I can edit the files myself if I know 
>what to 
>type.  Anybody solved this yet?  What is the exact format of the 
>new 
>preg_replace_callback() function for these four source code lines?
>
>I spent over an hour searching the web and SquirrelMail mailing 
>list 
>archives and didn't find anything I can use to solve this issue. 
>Now I'm 
>asking for help!  BTW, my users like SquirrelMail and are 
>patiently 
>waiting for me to find an answer.
>
>*
>Installation Versions*:
>
>- *SquirrelMail 1.4.22
>*Plugin's:*
>*  + administrator
>   + calendar
>   + fortune
>   + gpg
>   + html_mail
>   + spamcop
>   + squirrelspell
>
>/Checking PHP configuration/...
>     PHP version 7.0.4-7ubuntu2.1 OK.
>     Running as www-data(33) / www-data(33)
>     display_errors:
>     error_reporting: 22527
>     variables_order OK: GPCS.
>     PHP extensions OK. Dynamic loading is disabled.
>   ... Congratulations, your SquirrelMail setup looks fine to me!
>
>- *PHP 7.0.4-7ubuntu2.1* (cli) ( NTS )
>     Copyright (c) 1997-2016 The PHP Group
>     Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
>         with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by 
>Zend 
>Technologies
>
>- Apache Server version: *Apache/2.4.18 (Ubuntu)*
>     Server built:   2016-04-15T18:00:57
>
>- Dovecot IMAP
>
>- Frontier.com SMTP server
>
>- OS: Ubuntu Server / Ubuntu Desktop 16.04 LTR
>
>- SqurrelMail 1.4.22 installed manually from tar package many 
>years ago, 
>and still working, except as noted.
>
>- Firefox 47.0 browser
>
>
>Thank you,
>Craig
>Craig Arno - Signature Block
>-------------------------------------------------------------------
>-----
>
>-------------------------------------------------------------------
>-----------
>Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park 
>in San
>Francisco, CA to explore cutting-edge tech and listen to tech 
>luminaries
>present their vision of the future. This family event has 
>something for
>everyone, including kids. Get more information and register today.
>http://sdm.link/attshape
>-----
>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


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
-----
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



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux