The following works for me:
...
ob_end_clean();
Header("Content-Encoding: none");
// display error or whatever
exit;
>
> > the errors _don't_ show up!
> > Shouldn't compress_pages accomplish the same?
>
> Yes, except for a bug in some PHP versions, which you appear to have.
>
> -chuck
>