[pmwiki-users] Problem with shared groups

Jean-Fabrice [gmail] jeanfabrice at gmail.com
Tue Mar 11 02:05:27 CDT 2008


2008/3/11, James DeVain <jamesdevain at mail.com>:

>  $WikiDir = new PageStore('$FarmD/shared.d-Whatever/$FullName');
>
Have you tried $WikiDir = new PageStore($FarmD .
'/shared.d-Whatever/$FullName'); ?

>  Also, if it helps, I'm using this in my farmconfig.php file:
>
>
>  $LockFile = "$FarmD/shared.d/.flock";
>  $WikiLibDirs = array(
>    &$WikiDir,
>       new PageStore('$FarmD/shared.d-Whatever/$FullName', 1),
>       new PageStore('$FarmD/wikilib.d/$FullName'));

I don't know it it can help, but $FarmD is a php variable while
$FullName is not.
So you should probably write :
  $WikiLibDirs = array(
    &$WikiDir,
       new PageStore($FarmD . '/shared.d-Whatever/$FullName', 1),
       new PageStore($FarmD . '/wikilib.d/$FullName'));

JF



More information about the pmwiki-users mailing list