KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How Do I Enable Debug Mode in DokuWiki?

Last Updated: January 23, 2026

Category: Other
Tags: # # # #

The following instructions reference $DOCROOT to mean the document root where your DokuWiki is installed and $USER is the Linux system username of the user that owns the domain. On cPanel, the document root is typically /home/$USER/public_html/, and on DirectAdmin, this is typically To enable debug mode for DokuWiki, you will edit the configuration file […]

How to Debug WordPress

Last Updated: March 10, 2023

DEBUGGING – TROUBLESHOOTING Debug mode gives some troubleshooting information that you don’t want to see all the time, unless you’re troubleshooting an issue. When that’s the case, change false to true, clear cache, refresh the page that’s a problem and observe the information. After you fix the problem, remember to change it back again. Debug […]

Enable PHP Error Logging for Debug Testing

Last Updated: October 18, 2021

PHP error logging for your site is an optional level of logging that can be enabled to log errors that occur with PHP code. There are several reasons you may choose to enable PHP error logging. You may want to enable PHP error logging if you’re actively developing your site to aid in troubleshooting. If […]

What is the “premature end of script headers” PHP error?

Last Updated: March 10, 2023

A common php error seen, however rarely known or understood is the “headers already sent” error. Which may look similar to this: Why does it happen? Premature end of script headers “actually means”, the script stopped for whatever reason before it returned any output to the web server. This can be an extremely difficult error […]

What is the “headers already sent” PHP error?

Last Updated: October 18, 2021

Category: Common Issues
Tags: # # #

A common error seen, however rarely known or understood is the “headers already sent” error. Which may look similar to this: Why does it happen? To understand why headers must be sent before output it’s necessary to look at a typical HTTP response. PHP scripts mainly generate HTML content, but also pass a set of HTTP/CGI headers […]