ach:1396867770 wrote
bpaddock wrote
My directory setup is
/home/web/www/dokuwiki which contains farm (to hold the animals) and farmer (the dokuwiki code).
Oh, that's not good. If you put both into the same directory (and it's in the www folder), all the animals will also be *not secure*, because you can access
yourdomain.com/dokuwiki/animal/conf/local.php[/m]. Unless you have properly secured everything by denying access through [m].htaccess etc, in which case you don't need to move any directories.
In the Yaws web server 'www' has no significance. Just not to confuse things I renamed the paths to:
/home/web/doku/farmer (the DokuWiki code which is 'doc root') and
/home/web/doku/farm (to hold the animals).
My 'doc root' is /home/web/doku/farmer :
<server default>
port = 80
listen = 0.0.0.0
docroot = /home/web/doku/farmer/
auth_log = true
allowed_scripts = php yaws cgi
php_handler = <fcgi, 127.0.0.1:9000>
</server>
I also created an animal called 'default', and I put 'default' into /etc/hosts .
This is my /home/web/doku/farmer/inc/preload.php :
#define('DOKU_CONF','/home/web/doku/conf/');
if(!defined('DOKU_FARMDIR')) define('DOKU_FARMDIR', '/home/web/doku/farm');
include(fullpath(dirname(__FILE__)).'/farm.php');
/home/web/doku/farm contain the two directories '_animal' and 'default'.
If I remove /home/web/doku/farmer/conf I still have exactly the same error, with the double //:
Warning: getimagesize(/home/web/doku/farmer/lib/tpl//images/logo.png): failed to open stream: No such file or directory in /home/web/doku/farmer/inc/template.php on line 1646
Animal Wiki Title
User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin.
The testing plugin is enabled and should be disabled.
Permission Denied
Sorry, you don't have enough rights to continue. Perhaps you forgot to login?
This page says nothing about a default animal:
https://www.dokuwiki.org/farms
What am I missing?