DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:write_errors

This is an old revision of the document!


Error writing files and directories

:?: While using DokuWiki, I'm often getting errors reading: “Writing xyz failed”. How come?

:!: If you made sure your permissions are correct, you're most probably with a webhost which has enabled PHP's Safe Mode. Unfortunately, this keeps DokuWiki from writing to directories using the web interface, because all actions are triggered with the user ID of the wwwuser, but only the FTP user is allowed to write to the directories on your webspace.

There are two solutions to this problem:

  1. Get your hoster to disable the the safemode option or find another provider.
  2. Try using DokuWiki's built-in workaround known as the safemode hack.

Another issue arises when your webserver is protected by SELinux (in /etc/selinux/config, there is SELINUX=Enforcing), in this case, take a look at : Gallery2 on a SELinux Server to solve the problem.

faq/write_errors.1218295463.txt.gz · Last modified: 2011-01-14 12:11 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki