[pmwiki-users] Path problem running in chroot'd environment
    Patrick R. Michaud 
    pmichaud at pobox.com
       
    Thu Nov 24 23:36:59 CST 2005
    
    
  
On Thu, Nov 24, 2005 at 09:35:00PM -0600, brian at pongonova.net wrote:
> On Thu, Nov 24, 2005 at 06:21:42PM -0600, Patrick R. Michaud wrote:
> > If it's not rendering correctly, the problem may be with the
> > setting of $PubDirUrl (and possibly $FarmPubDirUrl).  
> > 
> > Is there a url we could view for this?
> 
> 
> http://durango.dcccd.edu/pmwiki
> 
> Nothing much to see at the moment :)  I'll take a look at those two
> vars... 
You might re-check your setting of $FarmD, as well.  It needs
to be set to the directory containing pmwiki.php as seen from
the chroot jail.  It doesn't even have to be a full path name,
you might be able to get away with setting $FarmD='.'  .
You're only seeing the basic text because none of the files in 
scripts/ appear to be loaded, and it's not finding the 
wikilib.d/ directory containing the distribution pages.
Or, perhaps the PHP script isn't being executed from the directory
containing pmwiki.php -- this can often be fixed with a wrapper
script:
    <?php
      chdir("/path/to/pmwiki");
      include_once('pmwiki.php');
Pm
    
    
More information about the pmwiki-users
mailing list