dingus Posted July 11, 2008 Share Posted July 11, 2008 i im haveing an issue with php output buffering i need to turn it off for a script to run and have done so in php.ini how ever when i do phpinfo() i get output_buffering 4098 no value the first being the local value the second being the master value and my script is still erroring and anyone help me work out how to turn this off? Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 11, 2008 Share Posted July 11, 2008 Post the actual error and the code that is causing it to get specific help with your problem. It is likely that output buffering is neither the cause or the solution. Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/#findComment-587691 Share on other sites More sharing options...
dingus Posted July 12, 2008 Author Share Posted July 12, 2008 i think output buffering is the problem given the error Fatal error: Uncaught exception 'Exception' with message 'Error: output buffering is turned on in your php.ini file. In order to use Xaja, you must turn the 'output_buffering' setting to 'off'.' in /var/www/web1/web/www.theatticnetwork.net/test/xaja/controller/XajaController.php:351 Stack trace: #0 /var/www/web1/web/www.theatticnetwork.net/test/test.php(6): XajaController->init() #1 {main} thrown in /var/www/web1/web/www.theatticnetwork.net/test/xaja/controller/XajaController.php on line 351 the error is just that output buffering is turned on Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/#findComment-588264 Share on other sites More sharing options...
dingus Posted July 12, 2008 Author Share Posted July 12, 2008 bump Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/#findComment-588336 Share on other sites More sharing options...
JasonLewis Posted July 12, 2008 Share Posted July 12, 2008 ini_set() Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/#findComment-588338 Share on other sites More sharing options...
PFMaBiSmAd Posted July 12, 2008 Share Posted July 12, 2008 The output buffering setting cannot be set with an ini_set() statement (please read the manual.) If you have output buffering off in the master php.ini (which is what the phpinfo() output indicates) but it is on in the local setting, then it is being turned on in either in a .htaccess file (when php is running as an Apache module), your httpd.conf file (which is unlikely), or in a local php.ini file (when php is running as a CGI wrapper.) You would need to find in which of these it is being set. From the php manual - output_buffering changeable: PHP_INI_PERDIR PHP_INI_PERDIR: Entry can be set in php.ini, .htaccess or httpd.conf Link to comment https://forums.phpfreaks.com/topic/114273-phpini-output-buffering/#findComment-588361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.