192.168.20.130 で Visual Edtior をセットアップしようとしています
apt-get を使用して parsoid をインストールし、config.yaml を設定します
uri: ' http://192.168.20.130/wiki/api.php '
ブラウザ経由で 192.168.20.130:8142 にアクセスしようとしたところ、作業ページが表示されました。
次に、LocalSettings.php を設定します
wfLoadExtension( 'VisualEditor' );
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'h*ttp://192.168.20.130:8142',//ignore this * pls due to stack overflow don't let me upload question descript with links
'domain' => '192.168.20.130',
'prefix' => '192.168.20.130'
);
これらの構成の後、Visual Editor でインデックス ページを編集しようとしましたが、「サーバーからのデータの読み込み中にエラーが発生しました:HTTP 200」が表示されました。
私はApache access_logをチェックし、この編集アクションリクエストURLを見つけました: http://192.168.20.130/wiki/api.php?action=visualeditor&format=json&paction=parse&page=%E9%A6%96%E9%A1%B5&uselang=zh-cn (私は zh-cn を使用し、「%E9%A6%96%E9%A1%B5」はインデックス ページの URI コーディングです)、この URL に手動でアクセスしましたが、「エラーが発生しました」というメッセージしか表示されませんでした。 "
この問題を解決するにはどうすればよいですか?