Here is another information about this problem I have with searchbox after upgrading 2.0.10 to 2.2.0beta37<br><br>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.
<br><br>In the public wiki (where the problem with searchbox appears) the local/confg.php file has these lines:<br><br> $PL_HostURL = '<a href="http://milnor.math.ucl.ac.be/~pl">http://milnor.math.ucl.ac.be/~pl</a>';
<br> $PL_HostDirectory = "/Users/pl";<br> ## $ScriptUrl is your preferred URL for accessing wiki pages<br> $ScriptUrl = '<a href="http://milnor.math.ucl.ac.be/plwiki">http://milnor.math.ucl.ac.be/plwiki</a>
';<br> #Alias plwiki/ "<a href="http://milnor.math.ucl.ac.be/~pl/pmwiki/pmwiki.php">http://milnor.math.ucl.ac.be/~pl/pmwiki/pmwiki.php</a>" a et ete ajoute dans /etc/httpd.conf Voir cookbook:cleanurls<br> $EnablePathInfo = 1;
<br><br>but in the standalone version (w/o cleanurl ) the local/confg.php file has these lines:<br><br> $PL_HostURL = '<a href="http://127.0.0.1/~pascallambrechts">http://127.0.0.1/~pascallambrechts</a>'; <br>
$PL_HostDirectory = "/Users/pascallambrechts";<br> ## $ScriptUrl is your preferred URL for accessing wiki pages<br> $ScriptUrl = '<a href="http://127.0.0.1/~pascallambrechts/pmwiki/pmwiki.php">http://127.0.0.1/~pascallambrechts/pmwiki/pmwiki.php
</a>';<br> #A modifier: voir cookbook:cleanurls<br> #$EnablePathInfo = 1;<br><br>Could the problem comes from the cleanurl (which was working fine inversion 2.0.10) ?<br>Thanks,<br>Pascal<br><br><div><span class="gmail_quote">
2007/3/20, Patrick R. Michaud <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[resending to pmwiki-users]<br><br>On Tue, Mar 20, 2007 at 02:33:38PM +0100, P Victor wrote:<br>> Hello<br>><br>> I just made an upgrade of pmwiki from 2.0.10 to 2.2.0beta37<br>> When I try to make a search with the searchbox I get the result and the
<br>> followinf error message at the bottom of my page:<br>><br>> Warning: mkdir(wiki.d): Permission denied in /Users/pl/Sites/pmwiki/pmwiki.php on line 445<br>> PmWiki can't process your request<br><br>
The wiki.d/ directory is normally in the same directory as the<br>pmwiki.php script -- you just need to give the webserver write<br>permissions to it.<br><br>> PmWiki needs to have a writable wiki.d/ directory before it can continue.
<br>> You can create the directory manually by executing the following commands on your server:<br>><br>> mkdir //wiki.d<br>> [...]<br>><br>> I find a bit strange that the directory in the error message
<br>> appears like "//wiki.d" i.e. at the very bottom of the file system.<br><br>That's correct, it's quite strange. It looks to me as though<br>PHP's realpath() function isn't returning the actual location
<br>for some reason.<br><br>If you could get me a url to access your site, and set $EnableDiag = 1;<br>in the local/config.php, then I think I could figure out what is<br>causing the incorrect error message (and fix it for the next
<br>release).<br><br>Pm<br></blockquote></div><br>