[Typo3] how to stop the debbugging messages ?

Michael Stucki michael at typo3.org
Fri Apr 22 19:57:05 CEST 2005


michael wrote:
^^^^^^^
Please read the list rules!

> I've set up my php.ini to avoid this kind of message
> 
> Warning*: mysql_free_result():
> 
> but they don't stop, does it mean that typo reenhance the level of error
> warning locally in the scripts ?
> 
> If yes, is there a setting to stop the debbugging messages.

There's an easy way to prevent PHP from displaying such error messages, but
I'll tell you a cleaner way:

Open t3lib/class.t3lib_db.php and search for a line that sets

$debugOutput = false;

Set it to true and reload the malicious page. Then you should see what goes
wrong. Fix it and the problem is gone.

- michael

PS: Usually, I recommend to do it that way:
Enable PHP error logging into a file, disable logging to the output channel,
and then watch that file continously.
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-english mailing list