[TYPO3] Typo3 EXT develop degug question

Ryan Hayle ryan.hayle at space150.com
Thu Oct 5 17:25:10 CEST 2006


Rocky wrote:
> I'm doing a TYPO3 EXT for visual debug purpose I add 
> t3lib_div::debug($this->piVars); previous the content=' line of 
> class.myext.php. I can see the debug table is there but there is an 
> warning on the top of my browser says:
> "Warning: Cannot modify header information - headers already sent by...
> 
> How can I get rid of this please?

:)  Have you never programmed in PHP before?  Typo3 sends out HTTP 
headers (cookies) when it generates a page, but you are outputting 
content before this, so you will get this error.  Just ignore it, or 
change error_reporting in php.ini.

Ryan



More information about the TYPO3-english mailing list