
|
[dokuwiki]
||
[Date Prev]
[01-2006 Date Index]
[Date Next]
||
[Thread Prev]
[01-2006 Thread Index]
[Thread Next]
[dokuwiki] Re: error when modifing a page
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 08 Jan 2006 16:40:48 +0000
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
|

|