[pmwiki-users] Nesting in a Wiki Farm.

John McGinnis john.mcginnis at comcast.net
Wed Jan 10 14:28:07 CST 2007


Well I resolved my 'flunking farm issue', found a web server directive not
set. 
 
Have a different question in regards to Farms. Can you nest? For example can
you do --
 
/Home Wiki
|
-\Child Wiki
  |
  -\GrandChild Wiki
 
I have setup a test Wiki of this depth and each Wiki in kind does work. What
I want to do is have the settings of the config.php be inherited from the
level above plus any local customization. However when I get to the
GrandChild Wiki level I get the following notice:
 
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 8192 bytes) in /var/www/pmwiki/jgrp/local/config.php on line 1
 
In the Child and GrandChild Wikis I have the following statement included in
their respective /local dir:
 
<?php include('../local/config.php');
 
I can avoid the error if I modify the code to this:
 
<?php include('../../local/config.php');
 
So as to be pointing to the Home local dir from the GrandChild wiki. But
that removes the inhertience effect I am looking for. 
 
So couple of questions:
 
1) Over running memory as indicated by the Fatal error. I presume that is a
PHP .ini setting that needs to be modifed. Any suggestions?
2) Is there anything from a design perspective that would be problematic
with setting up the Farm this way? For example, does this cause an issue
with accessing the Home cookbook, pub and scripts dir?
 
Thanks!
 
John McGinnis
----------------------------------------------------------------------------
------------------
Basic research is when I'm doing what I don't know I'm doing. 
 
-- Werner VonBraun
     Inventor of the V2, Saturn V
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070110/3c14ba16/attachment.html 


More information about the pmwiki-users mailing list