ashishkranjan / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Better handle of ob_start() #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
Add this line to .htaccess to enable system-wide gzip output by default:
php_value output_handler ob_gzhandler
and then access dabr.

What happened?
Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot
be used twice in /home/yegle/public_html/dongtaiwang.com/common/theme.php 
on line 134

What did you expect to happen?
This should handled in a better way. Enabling system-wide gzip output is
very common for most users who setup dabr with their wordpress.

Original issue reported on code.google.com by cnye...@gmail.com on 6 Jan 2010 at 3:30

Attachments:

GoogleCodeExporter commented 9 years ago
I disagree with the need for this patch. Most people installing Dabr would do 
so into a clean environment and not need to worry about things like this.

Original comment by david.carrington on 11 Jan 2011 at 1:01