[pmwiki-users] 500 Error when saving large wiki pages

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 1 09:54:40 CST 2005


On Tue, Jan 25, 2005 at 11:24:52PM -0800, Menachem Shapiro wrote:
> I don't know if this is exactly the right place to ask (this my be
> better directed to my web hoster), but I don't even know where to
> start looking for a solution.
> 
> When trying to save large wiki pages, I sometimes (probably about 50%
> of the time) get 500 Internal server errors. A quick look at my server
> log tells me this:
> "Premature end of script headers: /home/otterpro/public_html/pmwiki/pmwiki.php"
> The page I am trying to save
> (http://otterprojectonline.info/pmwiki/FirstLines/Gunsmoke) is over
> 3500 lines. I don't seem to have a problem with the smaller lines.
> 
> This is probably a problem with my web host's settings, but what
> should I be looking at?

One possibility may be that it's taking PmWiki's internal "diff"
algorithm too long to process a page that large, or that its using
up too much memory to do so.  We could try switching your site to
using an external diff program instead of the internal PHP-based one.

Pm



More information about the pmwiki-users mailing list