I've just set up a dokuwiki page on an apache2 server running on Ubuntu 16.04. When the dokuwiki tries to create a new page, I get a http 500 error (The IP page isn’t working. IP is currently unable to handle this request.). However, I can edit and save an existing page without problems.

I've looked at the list of things to fix https://www.dokuwiki.org/faq:error500, but I'm not sure where to start. I'm not doing any pretty URL rewriting that I'm aware of. My .htaccess files look like:

<IfModule mod_authz_host>
    Require all denied
<IfModule !mod_authz_host>
    Order allow,deny
    Deny from all

My bin, data, inc, lib, vendor, and conf folders are all drwxrwxr-x and owned by www-data.

Can someone please point me in the write direction?

  • Check your error log. Commented Aug 29, 2016 at 0:41
  • Thanks! That showed Uncaught Error: Call to undefined function utf8_decode() - so I'll start looking into that.
    – James
    Commented Aug 29, 2016 at 1:18
  • 1
    If you mix Require directives with old deprecated Order,Allow,Deny directives, you are in for big trouble. Use 2.4 Require directives only if you are using 2.4. Commented Aug 29, 2016 at 18:05
  • @ezra-s : It's not mixed, but the formatting was hiding the <if parts.
    – mivk
    Commented Jun 21, 2020 at 16:42

1 Answer 1


Call to undefined function utf8_decode() means there's a crucial function missing in your PHP installation. On some distributions you need to install a php-xml package for the utf8_decode and utf8_encode methods.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .