turnermm / htmlOKay

htmlOKay is a DokuWiki plugin that enables administrators to set permissions on HTML access, so that designated users and groups may use HTML in their pages. See the htmlOKay web site ( http://www.mturner.org/htmlOKay/) and the included ebook andpdf docs for information on how to use this plugin.
https://www.dokuwiki.org/plugin:htmlokay
2 stars 2 forks source link

When installing an error #3

Closed TorBax closed 7 years ago

TorBax commented 7 years ago

if the folder content is different from data

/data/pages/ is not readable (htmlOkay, line 225)

turnermm commented 7 years ago

You don't say line 225 of which file.
The plugin was not designed for wikis with alternate save directories. But you can try setting the correct path in action.php and admin.php:

action.php:5:if(!defined('HTMLOK_WIKI_PATH'))define ('HTMLOK_WIKI_PATH', DOKU_INC . 'data/pages/');
admin.php:10:if(!defined('HTMLOK_WIKI_PATH'))define ('HTMLOK_WIKI_PATH', DOKU_INC . 'data/pages');

For DOKU_INC . 'data/pages' substitute your own path.