LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » LxAdmin » Bug Report » Output buffering POSSIBLE bug
Output buffering POSSIBLE bug [message #50405] Sat, 13 December 2008 12:13 Go to next message
lukebrenner is currently offline lukebrenner  Germany
Messages: 361
Registered: October 2008
Location: RO
Master
I am not sure if this is a bug or not (and I am not aiming the 9 bugs to be entitled for a free license either Wink )

But I am trying to install Gallery2 on one of my domains and when it does a system check it comes up with this error :

"Warning: Output buffering is enabled in your PHP by the zlib.output_compression parameter(s) in php.ini. Gallery can function with this setting - downloading files is even faster - but Gallery might be unable to serve large files (e.g. large videos) and run into the memory limit. Also, some features like the progress bars might not work correctly if output buffering is enabled unless ini_set() is allowed."

I verified "Output buffering" for the client in php config, AND for the domain and they are both unchecked.

I tried checking them then unchecking them and retried installing Gallery2 but when it does the system checks it comes always up with this error. All the other system checks are ok.

Thanks
Re: Output buffering POSSIBLE bug [message #50406 is a reply to message #50405] Sat, 13 December 2008 12:17 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Did you run phpINfo and find out what's the status? All reports are welcome btw.

thanks.


On Sat, Dec 13, 2008 at 05:14:00PM -0000, Luc wrote:
>
>
> I am not sure if this is a bug or not (and I am not aiming the 9 bugs to be entitled for a free license either ;) )
>


Re: Output buffering POSSIBLE bug [message #50407 is a reply to message #50406] Sat, 13 December 2008 12:24 Go to previous messageGo to next message
lukebrenner is currently offline lukebrenner  Germany
Messages: 361
Registered: October 2008
Location: RO
Master
Yes, here it is :

"Directive Local Value Master Value
zlib.output_compression On On
zlib.output_compression_level -1 -1
zlib.output_handler no value no value"

Is it supposed to be off if Output buffering is unchecked ?


here's output buffering :

output_buffering no value no value

[Updated on: Sat, 13 December 2008 12:25]

Report message to a moderator

Re: Output buffering POSSIBLE bug [message #50408 is a reply to message #50407] Sat, 13 December 2008 12:35 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
You are using apache with mod_php? In that case check /home/clientname/domain.com/.htaccess and see what's defined there.

Here all the values are turned off.

On Sat, Dec 13, 2008 at 05:24:11PM -0000, Luc wrote:
>
>
> Yes, here it is :
>
> "Directive Local Value Master Value
> zlib.output_compression On On
> zlib.output_compression_level -1 -1
> zlib.output_handler no value no value"
>
> Is it supposed to be off if Output buffering is unchecked ?
>


Re: Output buffering POSSIBLE bug [message #50410 is a reply to message #50408] Sat, 13 December 2008 12:37 Go to previous messageGo to next message
lukebrenner is currently offline lukebrenner  Germany
Messages: 361
Registered: October 2008
Location: RO
Master
No, I am using Apache with SuPhP.
Re: Output buffering POSSIBLE bug [message #50411 is a reply to message #50410] Sat, 13 December 2008 12:42 Go to previous messageGo to next message
lukebrenner is currently offline lukebrenner  Germany
Messages: 361
Registered: October 2008
Location: RO
Master
I have a .htaccess file in the root of my domain that says this :

###Start Lxadmin PHP config Area
###Please Don't edit these comments or the content in between. lxadmin uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.
<Ifmodule mod_php4.c>
php_value error_log /home/admin/__processed_stats/kool.ca.phplog
php_value upload_max_filesize 2M
php_value max_execution_time  30
php_value max_input_time  60
php_value memory_limit  32M
php_value post_max_size  8M
php_flag register_globals  off
php_flag display_errors  off
php_flag file_uploads  on
php_flag log_errors  off
php_flag output_buffering  off
php_flag register_argc_argv  on
php_flag magic_quotes_gpc   off
php_flag magic_quotes_runtime  off
php_flag magic_quotes_sybase  off
php_flag mysql.allow_persistent  off
php_flag register_long_arrays  on
php_flag allow_url_fopen  on
php_flag cgi.force_redirect  on
php_flag enable_dl  on

</Ifmodule>
<Ifmodule mod_php5.c>
php_value error_log /home/admin/__processed_stats/kool.ca.phplog
php_value upload_max_filesize 2M
php_value max_execution_time  30
php_value max_input_time  60
php_value memory_limit  32M
php_value post_max_size  8M
php_flag register_globals  off
php_flag display_errors  off
php_flag file_uploads  on
php_flag log_errors  off
php_flag output_buffering  off
php_flag register_argc_argv  on
php_flag magic_quotes_gpc   off
php_flag magic_quotes_runtime  off
php_flag magic_quotes_sybase  off
php_flag mysql.allow_persistent  off
php_flag register_long_arrays  on
php_flag allow_url_fopen  on
php_flag cgi.force_redirect  on
php_flag enable_dl  on

</Ifmodule>

###End Lxadmin PHP config Area


Then I have another .htaccess file in the /rootofmydomain/gallery/g2data folder that says this :

DirectoryIndex .htaccess
SetHandler Gallery_Security_Do_Not_Remove
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
Order allow,deny
Deny from all
Re: Output buffering POSSIBLE bug [message #50412 is a reply to message #50410] Sat, 13 December 2008 12:44 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
For suphp check /home/httpd/domain.com/php.ini


On Sat, Dec 13, 2008 at 05:37:19PM -0000, Luc wrote:
>
>
> No, I am using Apache with SuPhP.
>


Re: Output buffering POSSIBLE bug [message #50413 is a reply to message #50412] Sat, 13 December 2008 12:46 Go to previous messageGo to next message
lukebrenner is currently offline lukebrenner  Germany
Messages: 361
Registered: October 2008
Location: RO
Master
Got it, sorry.

"output compression" was checked in php config.

Disabled that and I don't get the rrror anymore.

Thanks.
Re: Output buffering POSSIBLE bug [message #93365 is a reply to message #50405] Fri, 30 December 2011 02:53 Go to previous message
Brandon is currently offline Brandon
Messages: 2
Registered: December 2011
Location: India
Member
Hello,

I checked as you specified above. My php.ini configuration is loaded from /etc/php.ini so I set

output_buffering = Off

as well as

/home/httpd/domain.com/php.ini as well , but no luck for me

Confused Frown Confused
Previous Topic:glibc detected *** double free or corruption (fasttop): 0x080728d0 ***
Next Topic:can't activate magic_quote_gpc un mod_php_ruid2
Goto Forum:
  


Current Time: Tue May 21 14:20:49 EDT 2013

Total time taken to generate the page: 0.01181 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software