ja:faq:error500
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
ja:faq:error500 [2015-02-02 02:37] – 作成 iobataya | ja:faq:error500 [2018-06-06 09:07] (現在) – Klap-in | ||
---|---|---|---|
行 11: | 行 11: | ||
です。Apacheのmod_rewriteオプション(URLをわかりやすくする機能)に関連する設定もError 500を起こしますが、デフォルトではOFFにされています。 | です。Apacheのmod_rewriteオプション(URLをわかりやすくする機能)に関連する設定もError 500を起こしますが、デフォルトではOFFにされています。 | ||
- | :!: あなたのフィアルやフォルダの権限(パーミッション)がゆる過ぎるとError 500が起こることがあります。セキュリティ上の対策で、サーバーが権限777のファイルの実行を許さないことがあるからです。この場合は権限を下げてみてください。(たとえばフォルダは755、ファイルは644にするなど) | + | :!: あなたのファイルやフォルダの権限(パーミッション)がゆる過ぎるとError 500が起こることがあります。セキュリティ上の対策で、サーバーが権限777のファイルの実行を許さないことがあるからです((たとえば、さくらインターネットのサーバーでは777のphpスクリプトは実行されないので、installer.phpによるセットアップができない問題が起きます))。この場合は、ディレクトリを755, |
- | :!: Another problem can occur if you're using .htaccess | + | :!: ほかには、.htaccessファイルがUTF-8(BOMあり)エンコードになっていることも考えられます。BOM無しエンコードに変換してください。 |
:!: It may happen if you are using Fedora with SElinux and copied the dokuwiki files from your home directory. To correct it, run " | :!: It may happen if you are using Fedora with SElinux and copied the dokuwiki files from your home directory. To correct it, run " | ||
- | :!: Some people reported a 500 error when creating new users or changing passwords on certain hosters. Try to change the [[config: | + | :!: ユーザーの新規作成やパスワードの変更時に500エラーが出たという報告もあります。この場合は、[[config: |
- | :!: If you use discussion | + | :!: もしdiscussionプラグインを使っていてコメント送信時や、[[config: |
- | :!: This error can also manifests itself as a PHP error. Try adding the code below to one of your PHP files such as local.php, then checking the error log file it generates. | + | :!: システムがPHPエラーとしてエラーの原因を明示してくれているかも知れません。次のコードをlocal.phpなどに加えて、エラーログ errorlog.txt を確認してみてください。 |
< | < | ||
ini_set(' | ini_set(' | ||
行 27: | 行 27: | ||
</ | </ | ||
- | :!: Some combinations of plugins seem to cause this behaviour. If in doubt, | + | :!: プラグインの相性がこのエラーを起こすこともあるようです。もしプラグインが怪しい場合には、プラグインをdisableしてみてください。もしdisableしてDokuWikiが動作するのであればプラグインに問題があります。まずExtension |
+ | |||
+ | シェルでの操作例 | ||
< | < | ||
# cd / | # cd / | ||
# touch disabled | # touch disabled | ||
</ | </ | ||
- | or in conf/ | + | |
+ | あるいは、conf/ | ||
< | < | ||
$plugins[' | $plugins[' | ||
</ | </ | ||
- | Make sure you don't have conflicting values between the two! plugins.local.conf overrides 'disabled' files. | + | |
+ | disabledファイルがあるのにプラグイン設定 = 1 といった矛盾が起こらないように注意してください: | ||
+ |
ja/faq/error500.1422841049.txt.gz · 最終更新: 2015-02-02 02:37 by iobataya