[pmwiki-users] Sharing wiki.d among different wikis ?
Andrius Kulikauskas
ms at ms.lt
Wed Dec 7 17:59:39 CST 2005
Hi Patrick,
I've upgraded my wikis to the latest version. However, so far I'm not
able to get this to work. It wants to write new or changed files to the
local wiki.d Instead, I would like to have them both get pages from
the same wiki.d
I've set up globalvillages.info as usual, and I've tried to point the
openleaders.com wiki as follows:
------------------------------------------------------------
$LockFile = "/home/globalvillages/html/wiki.d/.flock";
$WikiLibDirs = array(
&$WikiDir,
new PageStore('/home/globalvillages/html/wiki.d/$FullName',1),
new PageStore('/home/globalvillages/html/wikilib.d/$FullName'));
--------------------------------------------------------
I'm able to view the page and go into editing mode, but when I try to
save, then it looks for the local wiki.d
------------------------------------------------------
Warning: unlink(wiki.d/.lastmod): No such file or directory in
/home/openleader/html.com/pmwiki.php on line 669
Warning: touch(): Unable to create file wiki.d/.lastmod because No such
file or directory in /home/openleader/html.com/pmwiki.php on line 669
PmWiki can't process your request
no such file
We are sorry for any inconvenience.
------------------------------------------------------
What can I do, if anything?
Thank you!
Andrius
Andrius Kulikauskas
Minciu Sodas
http://www.ms.lt
ms at ms.lt
+370 (5) 264 5950
Vilnius, Lithuania
Patrick R. Michaud wrote:
> On Wed, Dec 07, 2005 at 10:31:54PM +0200, Andrius Kulikauskas wrote:
>
>>Hi Patrick and all,
>>
>>How can we have two different wikis (http://www.openleader.com and
>>http://www.globalvillages.info) have the same pages?
>>
>>I've found the page on sharing pages at:
>>http://www.pmwiki.org/wiki/Cookbook/SharedPages
>>
>> $LockFile = "$FarmD/shared.d/.flock";
>> $WikiLibDirs = array(
>> &$WikiDir,
>> new PageStore('$FarmD/shared.d/$FullName', 1),
>> new PageStore('$FarmD/wikilib.d/$FullName'));
>>
>>I've set this up at "Sharing writable pages" and have placed all the
>>pages in a shared.d directory. However, it wants to create pages in its
>>own wiki.d directory. Also, when it updates pages, it places them in
>>wiki.d How do I get it to create and update pages in the shared.d
>>directory instead?
>
>
> The SharedPages recipe only works with versions 2.1.beta10 and later.
> (Your sites appear to be running 2.1.beta4.)
>
> Pm
>
>
More information about the pmwiki-users
mailing list