Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Large pages not parsed
Page:  1  2  next 
Avatar
slack #1
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: Large pages not parsed
Hi,

I've just installed dokuwiki on Kubuntu 7.10 and for the most part it's working fine, except that very large pages (in the realm of 20,000 words, but text only) aren't being parsed -- the wiki source just seems to be dumped unformatted (although the usual header and footer is still output).  I can divide the page into two smaller pages which are both rendered properly, so as far as I can tell there isn't a problem with the wiki source, it's just a matter of the page size.

Is this a deliberate limit?  Is there some configuration option somewhere that tells it the maximum page size to parse?

I'll attach a screenshot to show you what I mean.

Thanks for your help.

Dan
chi #2
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Increasing the max_memory_limit in your php.ini should help with this.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
slack #3
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
Thanks for your suggestion, Chi.

I've tried increasing memory_limit from 128M to 512M and I still get the same result.  Could it really take more than half a gig to mark up 20,000 words of text?  max_execution_time is 30 seconds and it never takes that long to run.

Any other thoughts?
Avatar
jm_zz #4
Member since Aug 2007 · 301 posts · Location: labaquere momas france
Group memberships: Members
Show profile · Link to this post
I had the same problems with big tables.
Perhaps there is a troubleshoot because of too much plugins (love them....). Perhaps like chi write, by server parameters it is possible to improve this behavior ?

___> test on a fresh DokuWiki install without plugins, your page.
___> Explore your php.ini ... and find the good parameters. Perhaps you server is quite low hardware ?
T'as avì dit, que n'i a pas nada estela. I a pas sonque lo movement deus astres e totas la causas. Lo mon còr ? Non. Son tremolar. Benard Manciet
Avatar
andi (Administrator) #5
User title: splitbrain
Member since May 2006 · 3471 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Check your webserver error log, it should tell you what goes wrong. You might be hitting some PCRE limit somewhere.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
slack #6
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
jm_zz: I am not using any plugins (I've only just installed dokuwiki).  The "server" I'm using is just my laptop, 512mb ram, 1.7ghz Pentium.  I really don't think it ought to be struggling with this.  I have looked through my php.ini (which I haven't changed from the default kubuntu package apart from increasing the memory it's allowed to use) but nothing has leapt out at me.  I tried to attach it, but I get "invalid attachment file" from the forum.  I could copy-paste it if it's important.

andi: Nothing is appearing in my error log.  Which I'd expect, because the entire page is being output, albeit not marked up -- and therefore it seems more likely that it is dokuwiki that is "giving up" somehow and dumping its source as an error mechanism, rather than this being a problem at the level of PHP or my web server.  At least, that's my guess.
Avatar
slack #7
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
I can't copy-paste either, as there is a limit on post length.
Avatar
andi (Administrator) #8
User title: splitbrain
Member since May 2006 · 3471 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
can you email me the source of your page? andi at splitbrain dot org
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
slack #9
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
Sent.  Let me know if you don't receive it.
Avatar
andi (Administrator) #10
User title: splitbrain
Member since May 2006 · 3471 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Haven't got anything yet. What was your subject line? Maybe it got caught in the spam filter.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
slack #11
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: Source of dokuwiki page.
Avatar
slack #12
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #10
Date: Tue, 19 Feb 2008 09:37:45 +1100
Subject: Source of dokuwiki page.
Avatar
andi (Administrator) #13
User title: splitbrain
Member since May 2006 · 3471 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
nothing. could you please send it again or upload it somewhere?
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
slack #14
Member since Feb 2008 · 13 posts
Group memberships: Members
Show profile · Link to this post
Resent and uploaded to http://home.silencescape.net/~slack/broken-page.source

Thanks.
Avatar
andi (Administrator) #15
User title: splitbrain
Member since May 2006 · 3471 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The devel version is somewhat cleverer in catching the error :-). Here is what I get:

A PCRE backtrack error occured. Try to increase the pcre.backtrack_limit in php.ini

Just follow the advice ;-)
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  1  2  next 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-19, 16:27:03 (UTC +02:00)