[pmwiki-users] Re: problem with searchterms script
Karl Loncarek
dh2mll at web.de
Thu Sep 15 10:26:46 CDT 2005
>> Hi,
>> Following error message occurs:
>>
>> Warning: Unknown modifier '|' in d:\Prog\Abyss Web
>> Server\htdocs\pmwiki \pmwiki.php on line 1000
>>
>> I could find the script searchterms (Cookbook/Searchterms) as source,
>> and i think it this line that is causing this problem:
>
> Actually, the problem is that the words array can contain characters
> that are treated as part of the regular expression. In this case,
> a '/' in the search words is prematurely ending the pattern.
>
> I've now updated the searchterms.php recipe in the cookbook -- try
> the new one and see if it solves the problem.
>
> Pm
Sorry to tell you, but now I get the error message even just when
starting the search... Before at least the search worked.
--
Bye
Karl (aka Klonk)
More information about the pmwiki-users
mailing list