[dokuwiki] Re: autolink2 plugin error

  • From: Francois Sabot <francois.sabot@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 03 Aug 2007 16:23:49 +0300

Let's make a 'autoreply' ^^
In the autolink.idx file from the index, I have found the 'responsible'
of the bug, some '*[[blabla' like anchors.
I have removed them manually and it works now.

Cheers

Francois

On 03/08/2007 16:15, Francois Sabot wrote:
> I've been trhough this file and I cannot find the anchor with the
> slash... may it be due to the '#' ?
>
> On 03/08/2007 15:56, Otto Vainio wrote:
>   
>> Francois Sabot wrote:
>>     
>>> Hy everyone
>>> Since this afternoon only, I have a weird thing with the autolink2
>>> plugin behavior.
>>> '*Warning*: preg_replace() [function.preg-replace
>>> <http://localhost/wikiposon/function.preg-replace>]: Compilation failed:
>>> missing terminating ] for character class at offset 88 in
>>> *****\lib\plugins\autolink2\syntax\show.php* on line *81'
>>>
>>>       
>> Hi
>>
>> One of your "anchors" has a '/' sign in them. I have not taken enough
>> care on cleaning the anchor tags before doing the preg_replace call.
>>
>> Check the dokuwiki data/cache/autolink.idx file. There should not be
>> any "/" characters. Until I make a new version you need to check that
>> all the {{autolink>someanchor}} tags are clean. (=without slash)
>>
>> brgds Otto
>>     
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: