This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
FS#1905 [SafeMode] Make dokuwiki compatible with open_basedir = ./
On many freehostings it is popular to have globally set safemode open_basedir = ./ in PHP.ini for whole server, which is IMHO quite usefull and i am using it on my servers too. This means, that PHP script can access only files in it's directory and subdirectories and dokuwiki can't handle this well especialy there are issues with those scripts:
those scripts are trying to access/include some files from parent directories.
usual approach to fix this is to call only php scripts from application root. eg. those can be included and invoked using doku.php?do=SOMETHING instead of calling them directly. there are probably more such files, but i didn't tested it. first what you can see with open_basedir = ./ is that CSS and JS is not working. but for example most plugins are not affected, since they are programatically called by doku.php, not directly by webserver.
this issue makes dokuwiki unusable on most (free)hostings and for those with luck to have root access to server it means creating some extra configuration for each dokuwiki install if they want to keep some security level...
There are many (free) hosts with sane PHP settings. The basedir option should be set to the root of your application.