On a site I'm helping with, we're getting this on the status report page:

Unicode library Error
Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting. Please refer to the PHP mbstring documentation for more information.

There isn't such a setting in their php.ini file as far as I can see. What line(s) should I be editing and/or adding to fix this problem?

Comments

jsimonis’s picture

^bump

--
Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me

jaskegreen’s picture

I am getting the same thing. The site works great locally, but when I moved it to the server and noticed my theme wasn't coming up, I looked at the status report and got that error.

Did you get this figured out, or can someone please provide some direction?

Thanks,

Jason
JC SWAK - web hosting & design
www.jcswak.com

jsimonis’s picture

Here's what was passed along to me via e-mail:

For the error , I just simply in the settings.php file and add these lines to the ini_set items ...

ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');

Of course the next thing is to find where the ‘ini_set’ items appear in the ‘settings.php’ file. I did a “find” search and found that they appear near the bottom of the file. I pated in the two lines of code above, and viola! The error message disappeared.

- - - - - - -

I found I only have this error if I use a php.ini file. I have a generic one that was given to me by my hosting company. I use it to up the amount allowed for people to upload. 2MB isn't enough for many PDF files.

Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me

jaskegreen’s picture

Yep, found a post after yours that gave that same info and it worked for me as well. I was still having issues with my theme not showing up, and I thought this issue had something to do with it. See http://drupal.org/node/108624#comment-220651 for that fix.

Thanks for the reply and help,

Jason
JC SWAK - web hosting & design
www.jcswak.com

ddarras2012’s picture

That worked jsimonis - thanks! Working on MAMP, Marketplace Install Profile.

Yuri’s picture

Deprecated function: ini_set(): Use of mbstring.http_input is deprecated in include_once() (line 286 of /home/test/public_html/sites/default/settings.php).

dbjpanda’s picture

Did you get any solution ?