[pmwiki-users] Pbm with searchbox after upgrade 2.0.10 -> 2.2.0beta37

P Victor pvictordenis at gmail.com
Wed Mar 21 19:29:14 CDT 2007


Here is another information about this problem I have with searchbox after
upgrading 2.0.10 to 2.2.0beta37

When I run a copy of my wiki after regrading on a standalone version on my
laptop, the problem with searchbox disappears. The main difference between
the standalone and the public version is maybe the usage of cleanurl in the
public version.

In the public wiki (where the problem with searchbox appears) the
local/confg.php  file has these lines:

  $PL_HostURL = 'http://milnor.math.ucl.ac.be/~pl';
  $PL_HostDirectory = "/Users/pl";
  ##  $ScriptUrl is your preferred URL for accessing wiki pages
  $ScriptUrl = 'http://milnor.math.ucl.ac.be/plwiki';
  #Alias plwiki/ "http://milnor.math.ucl.ac.be/~pl/pmwiki/pmwiki.php" a et
ete ajoute dans /etc/httpd.conf  Voir cookbook:cleanurls
  $EnablePathInfo = 1;

but in the standalone version (w/o cleanurl ) the local/confg.php  file has
these lines:

  $PL_HostURL = 'http://127.0.0.1/~pascallambrechts';
  $PL_HostDirectory = "/Users/pascallambrechts";
  ##  $ScriptUrl is your preferred URL for accessing wiki pages
  $ScriptUrl = 'http://127.0.0.1/~pascallambrechts/pmwiki/pmwiki.php';
  #A modifier: voir cookbook:cleanurls
  #$EnablePathInfo = 1;

Could the problem comes from the cleanurl (which was working fine inversion
2.0.10) ?
Thanks,
Pascal

2007/3/20, Patrick R. Michaud <pmichaud at pobox.com>:
>
> [resending to pmwiki-users]
>
> On Tue, Mar 20, 2007 at 02:33:38PM +0100, P Victor wrote:
> >    Hello
> >
> >    I just made an upgrade of pmwiki from 2.0.10 to 2.2.0beta37
> >    When I try to make a search with the searchbox I get the result and
> the
> >    followinf error message at the bottom of my page:
> >
> >  Warning: mkdir(wiki.d): Permission denied in
> /Users/pl/Sites/pmwiki/pmwiki.php on line 445
> >  PmWiki can't process your request
>
> The wiki.d/ directory is normally in the same directory as the
> pmwiki.php script -- you just need to give the webserver write
> permissions to it.
>
> >  PmWiki needs to have a writable wiki.d/ directory before it can
> continue.
> >  You can create the directory manually by executing the following
> commands on your server:
> >
> >      mkdir //wiki.d
> >      [...]
> >
> >  I find a bit strange that the directory in the error message
> >  appears like "//wiki.d" i.e. at the very bottom of the file system.
>
> That's correct, it's quite strange.  It looks to me as though
> PHP's realpath() function isn't returning the actual location
> for some reason.
>
> If you could get me a url to access your site, and set $EnableDiag = 1;
> in the local/config.php, then I think I could figure out what is
> causing the incorrect error message (and fix it for the next
> release).
>
> Pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070322/02f7f5f0/attachment.html 


More information about the pmwiki-users mailing list