Project

General

Profile

Actions

Bug #21570

closed

Debug output destroys BE HTML

Added by Steffen Kamper over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

12614-debug_flashmessages.diff (4.41 KB) 12614-debug_flashmessages.diff Administrator Admin, 2009-11-16 16:51
12614-t3uxw09.diff (12.5 KB) 12614-t3uxw09.diff Administrator Admin, 2009-11-17 16:56
12614-t3uxw09-v2.diff (12.8 KB) 12614-t3uxw09-v2.diff Administrator Admin, 2009-11-17 17:23

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #21557: Use flash messages to show SQL debug errors in the backendClosedSteffen Kamper2009-11-15

Actions
Related to TYPO3 Core - Bug #18734: SQL debug output is not shown in the BackendClosedSteffen Kamper2008-05-01

Actions
Related to TYPO3 Core - Bug #18220: typo3-docheader not visible when error occuresClosedSteffen Kamper2008-02-15

Actions
Has duplicate TYPO3 Core - Bug #18685: New Backend UI relocates save save/close buttons in (TV) Page view if an PHP error / warning occursClosedChristian Kuhn2008-04-24

Actions
Actions

Also available in: Atom PDF