Re: What is needed to make sure the squirrel is ready for PHP 7?

Paul Lesniewski <[email protected]>
Newsgroups gmane.mail.squirrelmail.user
Message-ID <[email protected]>

On 2016年03月23日 19:00, David C. Rankin wrote:
> Paul, All,
> 
>   I have updated a production box to PHP7 briefly on Archlinux server and
> promptly broke an older install of eGroupware, I did not check squirrelmail at
> that time. I downgraded to PHP 5.6 until I can get the groupware issue resolved.
> 
>   squirrelmail.org still shows the announcement that it supports PHP 5.4-5.5,
> (which I chuckled, since it is more current than my site even though that was
> the update from 2013 :)
> 
>   I have updated squirrelmail to svn revision 14549 and setup squirrelmail on
> another Arch server with PHP7. I am receiving the following errors:
> 
> SquirrelMail notice messages
> Category: 	PHP
> Message: 	mb_strtolower() [function.mb-strtolower]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/class/template/Template.class.php
> LINE: 	1310
> Category: 	PHP
> Message: 	mb_strtolower() [function.mb-strtolower]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/class/template/Template.class.php
> LINE: 	1310
> Category: 	PHP
> Message: 	mb_strtolower() [function.mb-strtolower]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/class/template/Template.class.php
> LINE: 	1310
> Category: 	PHP
> Message: 	mb_strtolower() [function.mb-strtolower]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/functions/template/general_util.php
> LINE: 	39
> Category: 	PHP
> Message: 	mb_stristr() [function.mb-stristr]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/functions/template/general_util.php
> LINE: 	41
> Category: 	PHP
> Message: 	mb_stristr() [function.mb-stristr]: Unknown encoding "(null)"
> FILE: 	/srv/http/htdocs/squirrelmail/functions/template/general_util.php
> LINE: 	45
> 
>   The 39, 41, 45 messages repeat several more times. It looks like it is really
> close. Is there something else I can send or test to help out? (unfortunately
> I'm not a php programmer, but I can work a keyboard and get whatever you may
> think will help)
> 
>   Above all messages look like they are mbstring complaints about an encoding
> not being set. Do I need to set encoding to UTF-8 or set something to make
> mbstring happy?
> 
>   The only mbstring setting I have in php.ini is:
> 
> mbstring.func_overload = 7
> 
> (which is a groupware requirement)
> 
>   Is there something I should try to resolve these messages on my end?
> 
>   Thanks and keep up the great work.

By the way, these errors have nothing to do with PHP 7 compatibility.
You've asked about these same errors at least twice before.  Once you
solved the problem yourself.  For example, see:

https://www.mail-archive.com/[email protected]/msg31206.html


-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.