Problem solved, <div>I have to make the path more relative, so to speak.</div><div>vis $FarmD/../../../onewiki/public_html/pmwiki/ etc</div><div><br></div><div>thanks, and documentation updated</div><div><br></div><div>
Simon</div><div><br></div><div><br><br><div class="gmail_quote">2009/11/27 Simon <span dir="ltr"><<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks, well yes I did write the page, I had great help, but all mistakes are mine (to fix ...)<div><br></div><div>Using $FarmD works fine for one wiki.</div><div><br></div><div>My directory structure is</div><div>/home/</div>
<div> /onewiki/</div><div> /public_html/</div><div> /pmwiki/</div><div> /wiki.d/</div><div> /wikishared.d/</div><div> /twowiki/</div><div> /public_html/</div><div>
/pmwiki/</div><div><div> /wiki.d/</div><div><br></div></div><div>My challenge seems to be to let IIS access wikishared.d from twowiki, hmmm</div><div>I'll keep you posted, but if anyone has ideas (file system in NTFS)</div>
<div><br></div><div>thanks</div><div><br></div><div>Simon</div><div><br></div><div><br><div class="gmail_quote">2009/11/26 Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span><div>
<div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wednesday 25 November 2009 10:31:31 Simon wrote:<br>
> I am using the following code to share files in a group from<br>
> <a href="http://pmwiki.org/wiki/Cookbook/SharedPages-Talk" target="_blank">http://pmwiki.org/wiki/Cookbook/SharedPages-Talk</a><br>
<br>
</div>Well, this section seems to have been written by you -- you might try to<br>
contact the author... :-)<br>
<div><br>
> viz<br>
> <?php if (!defined('PmWiki')) exit(); ## Songs.php<br>
> ## only alter the directories when a page is posted in this group<br>
> if (@$_REQUEST['action']=='edit'<br>
> && preg_grep('/^post/', array_keys($_REQUEST) ) ) {<br>
> $LockFile = "/home/tahi/public_html/pmwiki/wikishared.d/.flock";<br>
> $WikiDir = new<br>
> PageStore('/home/tahi/public_html/pmwiki/wikishared.d/$Group/$FullName',<br>
> 1); # writeable shared group<br>
> $WikiLibDirs = array( &$WikiDir,<br>
> new PageStore('wiki.d/$Group/$FullName', 1), # per group subdirectories<br>
> new PageStore('$FarmD/wikilib.d/$FullName') );<br>
> }<br>
<br>
</div>Always use $FarmD/wikilib.d and $FarmD/wikishared.d including for the .flock<br>
file and not /home/.../wikishared.d.<br>
<br>
LockFile = "$FarmD/wikishared.d/.flock";<br>
$WikiDir = new PageStore('$FarmD/wikishared.d/$Group/$FullName', 1);<br>
# what you have next should work fine<br>
<font color="#888888"><br>
Petko<br>
</font></blockquote></div></div></div><br><br></div></blockquote></div>
</div>