[pmwiki-users] Page with many lines goes blank
Petko Yotov
5ko at 5ko.fr
Wed Oct 13 02:23:30 PDT 2021
On 13/10/2021 09:43, Johan Bengtsson wrote:
> On Tue, 12 Oct 2021, Petko Yotov wrote:
>> @ini_set('pcre.backtrack_limit', 10000000); # 10 Million
>
> This helped, it is working now! So it hits some kind of limit in PHP?
Yes. This is a PHP limit on how far to look forward, and loop back, when
searching for matches of regular expressions. PmWiki uses regular
expressions in the markup rules.
You may want to split the very long page into several pages, or the very
long markup block into separate sections/blocks for example with a
single line containing [==] every few hundred lines, or you can increase
the PHP limits.
Added to PmWiki/Troubleshooting.
Petko
More information about the pmwiki-users
mailing list