DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:blankpage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:blankpage [2015-11-10 11:57] – I didn't track down why, but this worked for me when I was getting a few tottally blank pages. 141.61.181.2faq:blankpage [2022-07-31 22:03] (current) – [DokuWiki Error logs] Klap-in
Line 4: Line 4:
  
 This indicates some fatal error occurred which aborted the running PHP process without sending any output to the browser. Fatal errors are commonly triggered by faulty plugins, language or config files. To find out what happened, you need to **look up the error message in the appropriate error log**. This indicates some fatal error occurred which aborted the running PHP process without sending any output to the browser. Fatal errors are commonly triggered by faulty plugins, language or config files. To find out what happened, you need to **look up the error message in the appropriate error log**.
 +
 +===== Error Log =====
  
 Where that error log is located varies from setup to setup. Errors might be logged to the webserver's error log, the system global log or a specific PHP error log. This is configured in the [[phpfn>error_log]] directive in php.ini. Where that error log is located varies from setup to setup. Errors might be logged to the webserver's error log, the system global log or a specific PHP error log. This is configured in the [[phpfn>error_log]] directive in php.ini.
Line 14: Line 16:
   * /var/log/syslog   * /var/log/syslog
  
-Some sources of a fatal error:+If you are using a shared server, most of these servers might write the PHP error log to a ''error_log'' file next to the PHP file that caused the error. Sometimes it's at the DokuWiki root, but other times you want to search through the subfolders as well. If you still cannot find it, you might want to contact the administrator of the server. 
 + 
 +If you absolutely can't find the log file, you can try to install the [[plugin:showphperrors]] plugin, it might be able to show the error in the browser in some cases. 
 + 
 + 
 +==== DokuWiki Error logs ==== 
 + 
 +Since the Igor 2022 release, DokuWiki logs also errors. Via the admin interface you can use the [[plugin:LogViewer]]. If the LogViewer cannot be reached, you can find the log files in your file system in ''[wiki_folder]/data/log/error/<date>.log''
 +===== Some sources of a fatal error =====
  
   * Adding &purge=true to the URL may fix a problem if an error persists after upgrading a faulty plugin.   * Adding &purge=true to the URL may fix a problem if an error persists after upgrading a faulty plugin.
Line 21: Line 31:
   * The [[tips:findbadphp.php]] script might help you with finding certain errors, but is no replacement for having the real error message from the error log.   * The [[tips:findbadphp.php]] script might help you with finding certain errors, but is no replacement for having the real error message from the error log.
   * Simply deleting the associated meta file can sometimes fix the problem.   * Simply deleting the associated meta file can sometimes fix the problem.
 +
 +===== See also =====
 +
 +  * [[error500|Apache Error 500 (Internal Server Error)]]
  
faq/blankpage.1447153037.txt.gz · Last modified: 2015-11-10 11:57 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: 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