{"id":1450,"date":"2021-07-27T06:17:15","date_gmt":"2021-07-27T11:17:15","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=1450"},"modified":"2026-01-23T14:54:03","modified_gmt":"2026-01-23T20:54:03","slug":"how-do-i-enable-debug-mode-in-dokuwiki","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/","title":{"rendered":"How Do I Enable Debug Mode in DokuWiki?"},"content":{"rendered":"\n<p>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 <a href=\"https:\/\/www.knownhost.com\/cpanel\">cPanel<\/a>, the document root is typically \/home\/$USER\/public_html\/, and on DirectAdmin, this is typically<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  \/home\/$USER\/domains\/yourdomain.tld\/public_html\/.<\/code><\/pre>\n\n\n\n<p>To enable debug mode for DokuWiki, you will edit the configuration file located at $DOCROOT\/conf\/dokuwiki.php\u00a0<a href=\"https:\/\/www.dokuwiki.org\/devel:debugging\" rel=\"nofollow\">Debug tools<\/a>:<\/p>\n\n\n\n<p>Find the following within the configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  $conf&#91;'allowdebug']  = 0;                 \/\/allow debug output, enable if needed 0|1<\/code><\/pre>\n\n\n\n<p>And change it like so:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  $conf&#91;'allowdebug']  = 1;                 \/\/allow debug output, enable if needed 0|1<\/code><\/pre>\n\n\n\n<p>Now, you should start to see debug output logging to $DOCROOT\/data\/cache\/debug.log.<\/p>\n\n\n\n<p>Other ways of using Debug mode in DokuWiki include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Appending ?do=debug or &amp;do=debug to&nbsp;URL&nbsp;so DokuWiki will output a huge list of debug strings.<\/li><li>Appending ?httpdebug or &amp;httpdebug to&nbsp;URL&nbsp;to enable debugging output in DokuWiki&#8217;s HTTPClient<\/li><\/ul>\n\n\n\n<p>That&#8217;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97],"tags":[155,152,154,153],"class_list":["post-1450","post","type-post","status-publish","format-standard","hentry","category-other","tag-debug","tag-dokuwiki","tag-troubleshoot","tag-wiki"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Do I Enable Debug Mode in DokuWiki? - KnownHost<\/title>\n<meta name=\"description\" content=\"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Enable Debug Mode in DokuWiki? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-27T11:17:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-23T20:54:03+00:00\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"How Do I Enable Debug Mode in DokuWiki?\",\"datePublished\":\"2021-07-27T11:17:15+00:00\",\"dateModified\":\"2026-01-23T20:54:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/\"},\"wordCount\":188,\"keywords\":[\"debug\",\"dokuwiki\",\"troubleshoot\",\"wiki\"],\"articleSection\":[\"Other\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/\",\"name\":\"How Do I Enable Debug Mode in DokuWiki? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2021-07-27T11:17:15+00:00\",\"dateModified\":\"2026-01-23T20:54:03+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-do-i-enable-debug-mode-in-dokuwiki\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Do I Enable Debug Mode in DokuWiki?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Enable Debug Mode in DokuWiki? - KnownHost","description":"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Enable Debug Mode in DokuWiki? - KnownHost","og_description":"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.","og_url":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/","og_site_name":"KnownHost","article_published_time":"2021-07-27T11:17:15+00:00","article_modified_time":"2026-01-23T20:54:03+00:00","author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"How Do I Enable Debug Mode in DokuWiki?","datePublished":"2021-07-27T11:17:15+00:00","dateModified":"2026-01-23T20:54:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/"},"wordCount":188,"keywords":["debug","dokuwiki","troubleshoot","wiki"],"articleSection":["Other"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/","url":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/","name":"How Do I Enable Debug Mode in DokuWiki? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"datePublished":"2021-07-27T11:17:15+00:00","dateModified":"2026-01-23T20:54:03+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Are you looking for a way to enable debug mode in DokuWiki? In this guide we will show you how to do so to find the error on your website.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-do-i-enable-debug-mode-in-dokuwiki\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How Do I Enable Debug Mode in DokuWiki?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=1450"}],"version-history":[{"count":1,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1450\/revisions"}],"predecessor-version":[{"id":8049,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/1450\/revisions\/8049"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}