You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Near the end of installation, you are presented with the Recommended Settings. The value presented for Output Buffering is incorrect. The starting point for tracing this would be near Line 376 of installation\model\setup.php - search for $setting->label = JText::_('INSTL_OUTPUT_BUFFERING');
This value presented is simply the setting from the main PHP config file, and does not represent the current local value. Because of the incorrect value presented, it causes a major waste of time while you search for an issue that does not exist.
Steps to reproduce the issue
This relates to Apache running under Linux. I'm running a standard installation of 16.04 LTS.
In the main PHP settings (for me this is /etc/php/7.0/apache2/php.ini ), my value for output_buffering is 4096. This is the value I prefer for general use.
Since Joomla prefers the Output Buffering to be off, I have used the Apache2 .htaccess file to turn it off for the Joomla scripts. Running phpinfo() from Joomla's index.php confirms the value is off.
Expected result
The installation script should supply the current value of the setting, not the the value taken from the main PHP settings file.
Actual result
The installation script says Output buffering is On, even though phpinfo() run from both the root and installation folders of the Joomla installation says it is off.
Possible fix
Rather than reading the setting from the config file, you could try checking the state of the buffer as in the code below:
Ubuntu 16.04 LTS, kept updated.
Apache2, PHP7.0 running as an Apache module, and Postgres, all installed using the standard package manager.
I don't believe the version numbers would affect the issue, so I haven't bothered looking them up.
The text was updated successfully, but these errors were encountered:
Near the end of installation, you are presented with the Recommended Settings. The value presented for Output Buffering is incorrect. The starting point for tracing this would be near Line 376 of installation\model\setup.php - search for $setting->label = JText::_('INSTL_OUTPUT_BUFFERING');
This value presented is simply the setting from the main PHP config file, and does not represent the current local value. Because of the incorrect value presented, it causes a major waste of time while you search for an issue that does not exist.
Steps to reproduce the issue
This relates to Apache running under Linux. I'm running a standard installation of 16.04 LTS.
In the main PHP settings (for me this is /etc/php/7.0/apache2/php.ini ), my value for output_buffering is 4096. This is the value I prefer for general use.
Since Joomla prefers the Output Buffering to be off, I have used the Apache2 .htaccess file to turn it off for the Joomla scripts. Running phpinfo() from Joomla's index.php confirms the value is off.
Expected result
The installation script should supply the current value of the setting, not the the value taken from the main PHP settings file.
Actual result
The installation script says Output buffering is On, even though phpinfo() run from both the root and installation folders of the Joomla installation says it is off.
Possible fix
Rather than reading the setting from the config file, you could try checking the state of the buffer
as in the code below
:System information (as much as possible)
Ubuntu 16.04 LTS, kept updated.
Apache2, PHP7.0 running as an Apache module, and Postgres, all installed using the standard package manager.
I don't believe the version numbers would affect the issue, so I haven't bothered looking them up.
The text was updated successfully, but these errors were encountered: