ob_gzhandler quick bug fix

Diskussions related to the development of PhpLogCon

Google Ads


ob_gzhandler quick bug fix

Postby n9mjg » Wed Aug 11, 2010 8:45 pm

Hi,

I've just installed loganalyzer and so far I really like what I see.

I did have one small problem (easily fixed).

ob_gzhandler gave me the following warning:

Code: Select all
  ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' conflicts with 'zlib output compression'


Fixed by changing line 582 of include/functions_common.php to read:

Code: Select all
  if(extension_loaded('zlib') && !ini_get('zlib.output_compression')){ob_start("ob_gzhandler");}


Thanks again! Looks like loganalyzer will be very useful to me!
n9mjg
New
 
Posts: 1
Joined: Wed Aug 11, 2010 8:39 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Google Ads


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests

cron