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
Find the following within the configuration file:
$conf['allowdebug'] = 0; //allow debug output, enable if needed 0|1
And change it like so:
$conf['allowdebug'] = 1; //allow debug output, enable if needed 0|1
Now, you should start to see debug output logging to $DOCROOT/data/cache/debug.log.
Other ways of using Debug mode in DokuWiki include:
That's it! You should now be able to repeat actions that are giving errors or unexpected results on the site and see the associated error. Once you have the error, you can research it, identify the problem, and fix the issue. :)