Hello Community,
since CMSimple_XH 1.6 an explicit error message is displayed, when HTTP headers were sent early, displaying the respective file and line number. Due to a regression bug in CMSimple_XH 1.6.5 (r1457) this valuable error message is now suppressed. The problem is, that I had replaced exit with XH_exit() for unit testing purposes, but XH_exit() does ignore the $status parameter. The simple solution would be to add an optional $status parameter to XH_exit() and pass that on to exit. I don't expect any BC breaks.
I have committed the bug fix against the trunk (r1496) and the 1.6 branch (r1497).
Error message regarding headers_sent not shown anymore
Error message regarding headers_sent not shown anymore
Christoph M. Becker – Plugins for CMSimple_XH