---------------------------------------------------------------------- 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 <[email protected]> Subject: Re: [pmwiki-users] Long tekst To: Merijn Hofland <[email protected]> Cc: [email protected] Message-ID: <[email protected]> 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
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
