[Typo3] how to stop the debbugging messages ?

michael karatepla at yahoo.fr
Sun Apr 24 20:40:57 CEST 2005


Thank you very much,
In the meantime I solved out the problem, the last way is obviouly the best.

Michael


Michael Stucki wrote:

>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.
>  
>




More information about the TYPO3-english mailing list