Normally
an error in the output generating code, whether generated with a
template engine or just by using PHP as the template engine (which is what I do), will
display AFTER any prior output has already reached the browser.
Is it possible to make a custom error and exception handler display a
clean page with a custom message without the use of output buffering?