faq:error500
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq:error500 [2013-08-07 23:25] – old revision restored (2013/06/02 19:54) ach | faq:error500 [2022-03-16 16:14] (current) – [See also] +Link text Michaelsy | ||
---|---|---|---|
Line 3: | Line 3: | ||
:?: When loading DokuWiki, I'm getting an Error 500 (Internal Server Error), what should I do? | :?: When loading DokuWiki, I'm getting an Error 500 (Internal Server Error), what should I do? | ||
- | :!: This can happen if the .htaccess files in your DokuWiki directory use settings or trigger actions which are not supported by your Apache server config. If you're not running the server yourself, but are registered with a webhost, you can either ask your webhost | + | :!: An internal server error occurs when some fatal error has happened that prevented the request to be fulfilled. |
- | The options which are known to cause an Error 500 are: | + | Common Causes |
- | < | + | |
- | as well as all settings related to Apache' | + | |
- | :!: It may also occur when setting very permissive | + | * bad .htaccess or webserver configuration |
+ | * incompatible PHP version | ||
+ | * missing PHP extensions | ||
+ | * broken Plugin code | ||
+ | * file permissions | ||
+ | * SE Linux problems | ||
+ | * etc. | ||
- | :!: 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. | + | The most important thing you have to do is to is **find additional information** on what exactly went wrong. The webserver will write additional information about the error to it's error log file. Please refer to [[: |
- | :!: It may happen if you are using Fedora with SElinux and copied the dokuwiki files from your home directory. To correct it, run " | + | ===== See also ===== |
- | :!: Some people reported a 500 error when creating new users or changing passwords on certain hosters. Try to change the [[config: | + | * [[blankpage|I only get a blank or partial page]] |
- | :!: If you use discussion plugin and a 500 error occures after submit a comment, insert a recipient email address at [[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. | ||
- | < | ||
- | ini_set(' | ||
- | ini_set(' | ||
- | </ | ||
- | |||
- | :!: 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/ | ||
- | < | ||
- | # cd / | ||
- | # touch disabled | ||
- | </ | ||
- | or in conf/ | ||
- | < | ||
- | $plugins[' | ||
- | </ | ||
- | Make sure you don't have conflicting values between the two! plugins.local.conf overrides ' |
faq/error500.1375910718.txt.gz · Last modified: 2013-08-07 23:25 by ach