Error: mbstring.http_input/output must be left empty.

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Support Request Template
What version of phpBB are you using? phpBB 3.3.5
What is your board's URL? https://forum.verticalpool.com/
Who do you host your board with? Liquid Web (CentOS/Plesk)
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.0.5
What styles do you currently have installed? Hexagon
What language(s) is your board currently using? English
Which database type/version are you using? MariaDB
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Followed instructions to update by downloading full package and following instructions upgrading from 3.0.x to 3.3.x. Replaced files via FTP. Ran database update and everything went fine. Board works no issues. Via Plesk changed PHP version from 7.2 to 8.0.13.
Please describe your problem. When logging into the ACP the following messages appear at the top of the General Tab.

HTTP input character conversion is improperly configured
mbstring.http_input must be left empty. You can check the current value on the PHP information page.

HTTP output character conversion is improperly configured
mbstring.http_output must be left empty. You can check the current value on the PHP information page.

From what I understand, php8 does not include these as they are depreciated. After searching through the forums I found several topics about this and many suggestions to fix it by updating the .htaccess file, php.ini file to set the settings to

mbstring.http_input = pass
mbstring.http_output = pass

mbstring.http_input = none
mbstring.http_output = none

mbstring.http_input =
mbstring.http_output =

Have tried all of these by adding them and variations to the Additional directives section in Plesk for this website. Confirmed that they show up in the php.ini after updating. But none of these fix the errors from showing up in ACP.

When checking the PHP Information in the ACP it shows the following values for LOCAL/MASTER:

mbstring.http_input pass no value
mbstring.http_output pass no value

Any idea how to fix this? It is perplexing and I'm concerned it maybe breaking some functionality for the forum.

Please advise, thank you for your response.
Generated by SRT Generator
Last edited by majamaki on Mon Dec 06, 2021 5:33 pm, edited 1 time in total.
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Forgot to mention. The strange thing is I have another forum on the same server (https://forum.chowchow.org/), same set up, but it does not get the error. When looking at the PHP Information page in that ACP it shows no value for both:

mbstring.http_input no value no value
mbstring.http_output no value no value

But on the forum.verticalpool.com it shows:

mbstring.http_input pass no value
mbstring.http_output pass no value

It seems like I need to figure out how to override the LOCAL VALUE to be no value.
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Error: mbstring.http_input/output must be left empty.

Post by david63 »

majamaki wrote: Mon Dec 06, 2021 5:13 pm Have tried all of these by adding them and variations to the Additional directives section in Plesk for this website. Confirmed that they show up in the php.ini after updating. But none of these fix the errors from showing up in ACP.
Did you restart the server after making these changes?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Yes, restarted php8 and apache services. Still remains.
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by Brf »

Have you read the topics for nginx?
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

I haven't seen any specific to ngix. Are there different settings or directives that can be applied?
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by Brf »

I do not know much about nginx, I just know there is a config file that needs to adjusted. There is a sample in the docs folder for your phpBB download.
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Thanks. I looked in there but didn't see anything specific for configuring the mbstring settings. I'll dig more and see if I can find anything. Very strange since the two forums are set up the same from the server side, but this one continues to have this error coming up.
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53413
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by Brf »

That setting local column is usually from the php.ini in the board's root folder.
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

I tried adding both php.ini and user.ini (a few other sites I have use user.ini) into the forum root folder, with the following values, restarted services, but no luck.

mbstring.http_input =
mbstring.http_output =
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26551
Joined: Fri Aug 29, 2008 9:49 am

Re: Error: mbstring.http_input/output must be left empty.

Post by Mick »

Probably nothing to do with this but you need to enable cookie secure as your’re using ssl. See Knowledge Base - Fixing incorrect cookie settings.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Thanks for pointing that out.
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
majamaki
Registered User
Posts: 28
Joined: Sat Apr 04, 2009 3:42 am
Name: Terry Majamaki
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by majamaki »

Since there hasn't been a solution I take it this is a bug that will be fixed in a future release?
Best regards,

Terry Majamaki
New Global Adventures
Using phpBB @ ChowChow.org Forum
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Error: mbstring.http_input/output must be left empty.

Post by 3Di »

majamaki wrote: Fri Dec 10, 2021 7:45 pm Since there hasn't been a solution I take it this is a bug that will be fixed in a future release?
That's not a bug.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Post Reply

Return to “[3.3.x] Support Forum”