[pmwiki-users] Long tekst

Merijn Hofland wpme.hofland at gmail.com
Wed Apr 8 02:28:01 CDT 2009


----------------------------------------------------------------------
Hi Petko,
Thank you for your reply.
I tried it (point 2)
the file tekst is 187 KB so it's at no point larger than 1 MB.
I split it up in 3 parts.
When I add them all together like this:
[@
part 1
@]
[@
part 2
@]
[@
part 3
@]
I get the same problem.
When I first add part 1, part 1 is displayed.
when I add part 2 (only 10 lines), it displays part 1 but not part 2.
adding any thing doesn't help, only part 1 is displayed (when I save part 1,
if I do not save, part 1 is removed also.....)

Any more ideas?


Message: 1
Date: Tue, 7 Apr 2009 19:14:50 +0200
From: Petko Yotov <5ko at 5ko.fr>
Subject: Re: [pmwiki-users] Long tekst
To: Merijn Hofland <wpme.hofland at gmail.com>
Cc: pmwiki-users at pmichaud.com
Message-ID: <200904071914.50191.5ko at 5ko.fr>
Content-Type: text/plain;  charset="iso-8859-1"

On Tuesday 07 April 2009 11:23:40 Merijn Hofland wrote:
> Hi,
> I got a text of 6877 lines
> added 2 lines [@ at begin and @] at end
> pmwiki refuses to display it and cleans my whole code
> What can it be?
> is there a maximum of lines?

PmWiki tries to set a large limit - 1 MB - of text that could be processed
in
the markup engine, and if your text is larger, you have two options:

1. Add to config.php this line

  ini_set('pcre.backtrack_limit', 1000000*2); # *2 = twice the PmWiki
default

  This may be impossible in some PHP installations. (In that case, the limit
  might be even lower than 1MB, and you may see some error messages.)

2. You could place several [@...@] around a number of smaller chunks of your
  text, with each chunk hopefully staying below the limit of your system.

Thanks,
Petko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090408/9f6c3636/attachment.html 


More information about the pmwiki-users mailing list