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