Manuale:$wgShowExceptionDetails

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgShowExceptionDetails and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
Debug/logging: $wgShowExceptionDetails
If set to true, uncaught exceptions will print a complete stack trace to output.
Introdotto nella versione:1.8.1 (r16944)
Rimosso nella versione:still in use
Valori concessi:(booleano)
Valore predefinito:false
Impostazioni: Alfabetiche | Per funzione

Dettagli

If set to true, uncaught exceptions will print a complete stack trace to output. This should only be used for debugging, as it may reveal private information in function parameters due to PHP's backtrace formatting.

With the default false, users are shown only an error message "Fatal exception of type MWException" with an alphanumeric code that a person with access to the server logs can use to find the stack trace. Without this information, it's impossible to help fix the error.