1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PHP Error tracking

Posted at

PHPシステム系のエラートラッキング

php.ini ファイルに追加する
セクション分けされているっぽいのでファイル先頭に入れるのが良いだろう。

/usr/local/etc/php/php.ini

php.ini
display_errors = ON

[Date]
date.timezone = "Asia/Tokyo"

[mbstring]
mbstring.internal_encoding = "UTF-8"
mbstring.language = "Japanese"

MediaWiki でMarkdownを使えるようにゴニョゴニョしてると、エラー抑制がかかっていて原因がわからない。
これで解決したから!

MediaWiki エラー表示

MediaWikiでエラー表示するならコレをしろって言われた。
やったけど意味不明で上のPHP系エラートラッキングを追加して解決。

/var/www/html/LocalSettings.php

#Set $wgShowExceptionDetails = true;
$wgShowExceptionDetails = true;

ここで見た

Call to undefined method Parser::doDoubleUnderscore #17
https://github.com/bharley/mw-markdown/issues/17

This is because many calls from Markdown.php are deprecated or private now (see https://www.mediawiki.org/wiki/Release_notes/1.35):

MediaWiki version 1.35 で仕様変更になり doDoubleUnderscore を含めた一群の関数は諸々使えなくなりました。とのこと。

あー、あー、そんな事は聞きたくないでござる。
つまり バージョン1.35 前後で使えない拡張機能がいっぱいあって、MediaWikiさんが拡張機能として紹介してるもの以外は全部使えませんと。
うむ。心がオロオロしてるでござる。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?