[dokuwiki] Re: error when modifing a page

  • From: Guillaume Douté <gdoute@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 10 Jan 2006 15:13:31 +0100

pb doesn't seem to be exactly fixed actually. I noticed that, every day, I
have to change wordblock.conf in my server because it actually changed (it's
kind of like as if it got bigger after an update).

I'm starting to be confused because, according to the documentation I (too) 
quickly looked at, I don't think there is any update possible. Also I've done a 
diff of the two files (the original wordblock.conf and the new one I get every 
day) and it really looks like an update since bunch of regexp have been added

are these updates normal ?

On Sun, Jan 08, 2006 at 06:48:14PM +0100, Guillaume Douté wrote:
> I've just noticed (thanks to you), that my wordblock.conf was anormaly big.
> The truth is, I haven't used my wiki for a while and I didn't know if I
> changed somthing the last time.
> 
> It seems as like I manipulated wordblock.conf (I think I tried to insert a few
> regexp). I've put back the original wordblock, and now I don't get these
> warnings as last time.
> 
> seems like the problem's solved :)
> 
> again, Thanks for your help!
> 
> 
> On Sun, Jan 08, 2006 at 04:40:48PM +0000, Chris Smith wrote:
> > Guillaume Douté wrote:
> > >
> > >I don't what to make out of this. Does somebody know what it means and
> > >how to fix it ?
> > >
> > Hi,
> > 
> > That function is used to check words in a post against spam (all the 
> > entries in conf/wordblock.conf).  The function is set to make a pattern 
> > using each of the lines in the word block file.  To guard against too 
> > large regular expressions it limits itself to reading the wordblock 
> > smile in small chunks, testing each against your text.  The chunksize is 
> > set to 600bytes (40 bytes for php < 4.3.0). 
> > 
> > From a quick bit of research, the actual MAX_PATTERN_SIZE is compiled 
> > into the pcre library used by php.  Its not otherwise configurable.  I 
> > don't know how to determine the value used by your PCRE library, but its 
> > sounds small.  You may want to edit line #365 to change the 600 to a 
> > smaller value.  Its possible your server has an old version of PCRE, can 
> > you run phpinfo() to find out what version you are using?
> > 
> > The curious thing is that its just become a problem now. Also the parser 
> > normally runs with a pattern kilobytes in size, which doesn't seem to be 
> > causing you any problems.  Have you recently changed your settings or 
> > the wordblock.conf file?
> > 
> > Cheers,
> > 
> > Chris
> > 
> > 
> > -- 
> > DokuWiki mailing list - more info at
> > http://wiki.splitbrain.org/wiki:mailinglist


Other related posts: