Bug #21570
closedDebug output destroys BE HTML
0%
Description
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
(issue imported from #M12614)
Files
Updated by Ivan Dharma Kartolo about 15 years ago
Hi Steffen,
it's related to 12598.
Attached is my patch for this problem, #21557 and general debug output in Frontend. It's made during T3UXW09. Please review it.
Ivan
Updated by Ivan Dharma Kartolo about 15 years ago
the last one is kinda messed up. This is the fixed one. (12614-t3uxw09-v2.diff)
Thanks,