?
avatar flaxton
flaxton
17 Sep 2014

Steps to reproduce the issue

Turn off output_buffering in PHP by using a Plesk override, or editing the local php.ini (Plesk rewrites the php.ini with the override), by adding a line:
output_buffering = 'Off'
Joomla reports Output Buffering is On, so investigate.

Create a phpinfo() in the same folder as your Joomla installation.
In the Joomla administration backend, go to System Information / PHP Settings.
Joomla says: Setting: Output Buffering Value: On
Yet phpinfo() reports
output_buffering Local Value: Off Master Value: Off

Expected result

PHP output_buffering should be reported as Off

Actual result

PHP output_buffering is reported as On

System information (as much as possible)

Environement: CentOS 6.4, Apache 2.2.15, PHP 5.4.27
And yes, I restarted Apache, although changing the value in Plesk applies the change immediately without a restart anyway.
This behavior is observed on both Joomla 2.5 and 3.

Additional comments

I ran across this using the rokbooster plugin, that compressed CSS etc. It likes output_buffering to be Off. I turned it off, yet Joomla continues to think it is On.screen shot 2014-09-17 at 10 21 49
screen shot 2014-09-17 at 10 21 49

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar flaxton flaxton - open - 17 Sep 2014
avatar Bakual
Bakual - comment - 17 Sep 2014

Try using output_buffering = off instead of output_buffering = 'off' (notice the missing ' ' around the off). The parameter either accepts an integer or a boolean. However you give a string, which is basically invalid.

Can you verify that?

avatar flaxton flaxton - close - 17 Sep 2014
avatar flaxton flaxton - close - 17 Sep 2014
avatar zero-24 zero-24 - close - 17 Sep 2014
avatar flaxton
flaxton - comment - 17 Sep 2014

Argh I thought it was stripping out the quotes, but no. Removing the quotes fixes the problem, thanks!

avatar flaxton flaxton - change - 17 Sep 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-09-17 17:24:59
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
avatar Chacapamac
Chacapamac - comment - 24 May 2017

Output Buffering is OFF in Joomla 3.7.2 > System information > PHP information (PHP 7.1.5) by a —> php_value output_buffering Off command in the .htaccess.

In Joomla > System information > Relevant PHP Settings > Output Buffering is ON

avatar brianteeman
brianteeman - comment - 24 May 2017

commenting on a three year old issue will not be seen. please open a new issue

avatar Chacapamac
Chacapamac - comment - 24 May 2017

Cool

Add a Comment

Login with GitHub to post a comment