Jump to content

Manual:$wgShowExceptionDetails/ko

From mediawiki.org
This page is a translated version of the page Manual:$wgShowExceptionDetails and the translation is 11% complete.
Debug: $wgShowExceptionDetails
If set to true, uncaught exceptions will print a detailed stack trace to output.
이 변수가 소개된 버전:1.8.1 (r16944)
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(boolean)
기본값:false

상세

If set to true, uncaught exceptions will print a detailed stack trace to output, with argument values replaced with type names. 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 종류 "MediaWiki\Exception\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.

To enable this, add the following line to your LocalSettings.php :

$wgShowExceptionDetails = true;