[pmwiki-users] Problem with search
Patrick R. Michaud
pmichaud at pobox.com
Sat Jun 17 08:54:20 CDT 2006
On Sat, Jun 17, 2006 at 01:02:46PM +0100, David Goadby wrote:
>
> I have just upgraded my main wiki (http://www.lleyn-wales.co.uk/wiki) and
> most things are sorted out but, when I use the search option I get these
> messages at the top of the result page:
>
> Warning: opendir(/homepages/7/d26752125/htdocs/wiki/wikilib.d): failed to
> open dir: No such file or directory in
> /homepages/7/d26752125/htdocs/wiki/pmwiki.php on line 773
>
> Warning: Cannot modify header information - headers already sent by (output
> started at /homepages/7/d26752125/htdocs/wiki/pmwiki.php:773) in
> /homepages/7/d26752125/htdocs/wiki/pmwiki.php on line 870
>
> However, I do get the search results ok too.
>
> Any idea what the problem is?
It's a very minor bug in the search function; it doesn't affect
the search functionality at all but does generate the error
message.
I'll fix this for the next release, but in the meantime you can
do either of the following:
1. Edit pmwiki.php and change line 773 from
$dfp = opendir($dir); if (!$dfp) { continue; }
to
$dfp = @opendir($dir); if (!$dfp) { continue; }
2. Create an (empty) wikilib.d directory.
Thanks,
Pm
More information about the pmwiki-users
mailing list