目次

I only get a blank or partial page

:?: I only get a blank (empty) page when running DokuWiki or the output stops right after the template header. What's the problem?

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 error_log directive in php.ini.

Typical locations are:

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 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 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

See also