[TYPO3-core] RFC: #12614: Debug output destroys BE HTML

Dmitry Dulepov dmitry.dulepov at gmail.com
Mon Nov 16 19:34:23 CET 2009


Hi!

Steffen Kamper wrote:
> Problem:
> if you use t3lib_div::debug in BE the HTML is corrupted, docheader not
> clickable etc. It's very weird.
> 
> Reason is that t3lib_div::debug use "echo" which doesn't respect any
> output.
> 
> Solution:
> use flash messages. Ensure that the flag "showFlashMessage" is
> respected, that modern modules with templates render their flashmessage
> in modulebody, that old modules get the flash messages too, that FE
> output shows debug too.
> 
> It also respect all settings and debug handlers, as t3lib_div::debug is
> used as "last" output of debug

Will it work if page is terminated before the page rendering completes?

Will debug messages shown on the same page where user works now like with current debug() implementation?

-- 
Dmitry Dulepov
"Trust me, I am a doctor!" (c) Gregory House, M.D.


More information about the TYPO3-team-core mailing list