PPHLogger uses dynamic CSS generation to aid in "themeing" of the logger software.
When some users had zlib.output_compression turned on in their php.ini setup file, the CSS generation would get compressed and corrupt during transmission to the browser.
This results in what some people call, "inverting". Basically no style is attached to the HTML due to the CSS not being read correctly by the browser.
The following code is a fix implemented which should curtail any problems with CSS generation becoming corrupt. This needs to be applied to /css/get_css.php
[php]
<?php
// workaround for problems with zlib.output_compression = On
@ob_end_clean();
@ini_set('zlib.output_compression', 'Off');
header('Content-Transfer-Encoding: none');
header("Content-Type: text/css");
header("Pragma: no-cache");
header("Expires: 0");
header("Content-Length: ".strlen($css_style));
//print "\r\n\r\n";
print $css_style;
?>
[/php]
The full post with this fix can be viewed here:
http://www.phpee.com/forum/viewtopic.php?p=8713#8713
The CVS repository for this file is located here:
http://www.phpee.com/chora/diff.php/css ... 10&r2=1.11
David