On Friday, December 22, 2017, Jeffrey Walton <noloader(a)gmail.com> wrote:
On Fri, Dec 22, 2017 at 9:28 PM, Brian Wolff
<bawolff(a)gmail.com> wrote:
>
https://m.mediawiki.org/wiki/Manual:How_to_debug has some info about how
to
> enable mediawiki debug logs.
>
> For syntax highlight, the most common problem is an issue executing
external
commands. The
mediawiki debug log, once enabled will tell you the exact
command mediawiki is trying to execute.
Thanks Brian.
Is there something wrong with the shown configuration? Its not the
full configuration; rather its the parts that are supposed to be
catching errors. All the error related stuff is at the very end of
each conf file.
Jeff
# tail /etc/opt/rh/rh-php71/php.ini
# Added by JW 12/21/2017 for MediaWiki migration
log_errors = On
display_errors = On
display_startup_errors = On
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
error_log = /var/log/httpd24/error_log
# tail /var/www/html/wiki/LocalSettings.php
# Added by JW 12/21/2017 for MediaWiki migration
$wgShowError = true;
$wgShowErrors = true;
$wgShowSQLError = true;
$wgShowSQLErrors = true;
$wgShowException = true;
$wgShowExceptions = true;
$wgShowExceptionDetails = true;
Thats just for exceptions and fatal errors. You are looking for debug logs,
which can be captured with $wgDebugLogFile as the other poster suggested.
--
brian