DokuWiki

It's better when it's simple

ユーザ用ツール

サイト用ツール


ja:faq:error500

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ja:faq:error500 [2015-02-02 02:37] – 作成 iobatayaja: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, ファイルを644などの低い権限下げてみてください。
  
-:!: Another problem can occur if you're using .htaccess files using UTF-8 codification with Byte-Order Mark (BOM). Reencode your .htaccess files properly without BOM to solve this.+:!: ほかには、.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 "restorecon -r ." as root on the website dokuwiki directory :!: It may happen if you are using Fedora with SElinux and copied the dokuwiki files from your home directory. To correct it, run "restorecon -r ." as root on the website dokuwiki directory
  
-:!: Some people reported a 500 error when creating new users or changing passwords on certain hosters. Try to change the [[config:passcrypt]] option from smd5 to md5.+:!: ユーザーの新規作成やパスワードの変更時に500エラーが出たという報告もあります。この場合は、[[config:passcrypt]]オプションをsmd5からmd5に変更して見てください。
  
-:!: If you use discussion plugin and a 500 error occures after submit a comment, insert a recipient email address at [[config:notify]]. Maybe this is a bug in 2009-02-14.+:!: もしdiscussionプラグインを使っていてコメント送信時や、[[config:notify]]でEmailアドレスの挿入をするときにに500エラーが起こる場合は、2009-02-14版のバグと考えられます。アップデートしてみてください。
  
-:!: 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 を確認してみてください。
 <code> <code>
 ini_set('log_errors', 1); ini_set('log_errors', 1);
行 27: 行 27:
 </code> </code>
  
-:!: Some combinations of plugins seem to cause this behaviour. If in doubt, disable user-installed plugins. If this restores access to your Wiki, make sure all of your plugins are update-to-date using Plugin Manager. If you cannot access your Admin/Plugin Manager page but you do have access to the server's filesystem (e.g. by ssh), then you can disable plugins by editing conf/plugins.local.conf or creating an empty file called 'disabled' in each plugin's directory. Each time you disable an extra plugin, refresh your browser to see if the 500 error has gone away. On *nix, something like either of the below should do the trick to disable plugin 'pluginname':+:!: プラグインの相性がこのエラーを起こすこともあるようです。もしプラグインが怪しい場合には、プラグインをdisableしてみてください。もしdisableしてDokuWikiが動作するのであればプラグインに問題があります。まずExtension Managerを使って最新版のプラグインかどうかを確認しましょう。もしAdmin/Extension Managerページにすらアクセスできない場合は、サーバー内のconf/plugins.local.confというファイルを直接書き換えます。あるいは、各プラグインフォルダ(lib/plugins/xxx)の中に「disabled」という空のファイルを置いても無効化できます。プラグインを無効化してブラウザの更新を行い、500エラーが出るかどうかを確認して原因となるプラグインを特定します。 
 + 
 +シェルでの操作例
 <code> <code>
 # cd /path/to/dokuwiki/root/lib/plugins/pluginname # cd /path/to/dokuwiki/root/lib/plugins/pluginname
 # touch disabled # touch disabled
 </code> </code>
-or in conf/plugins.local.conf:+ 
 +あるいは、conf/plugins.local.confの書き換え
 <code> <code>
 $plugins['pluginname'] = 0; $plugins['pluginname'] = 0;
 </code> </code>
-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

特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki