[pmwiki-devel] Cannot Save Larger Pages

Petko Yotov 5ko at 5ko.fr
Thu Jun 11 04:18:50 PDT 2026


If this is a bug with the PmWiki core we'll fix it ASAP.

I just saved a 350kb page on pmwiki.org and the same one on my laptop 
wiki, both running the pre-release after version 2.6.0.

What messages appear on the wiki or in the server's PHP error logs? A 
500 error almost certainly contains some indication in the error logs.

Do you see a blank 500 Internal Server Error page, or does the edit form 
reappear unsaved, or does it redirect to the page that was not modified?

If you press Preview, does the preview page work?

Can you upload files larger than 14kb via the wiki?

Do you have mod_security enabled, or something similar that may block 
the request for specific security-related keywords in the posted text?

Do you have enough disk space?

Can you save smaller pages, subsequently?

Can you create new pages that are larger? Can you delete pages? Can you 
delete larger pages?

Is the problem with the full disk file size 
(pmwiki/wiki.d/Main.HomePage) or with the size of the wiki markup text 
in the edit form?

Do you use any custom page store class?

Does this happen in one wikigroup, or in all wikigroups?

Can you save a small page but not a large one in the same wikigroup? 
Check directory/file permissions under wiki.d/.

Do you have recipes that are only enabled on ?action=edit or that modify 
$EditFunctions?

Does this happen in an empty PmWiki installation? If so, the problem may 
be with the server configuration, otherwise it is more likely with a 
local PmWiki customization. See Troubleshooting on how to track what is 
causing this.

   https://pmwiki.org/Troubleshooting

Petko


On 11/06/2026 12:40, Michael Elliott wrote:
> Hello,
> 
> I started having an issue where saving pages where the data size is
> larger than ~14.5 fail.  I have multiple PMwiki instances and it is
> happening on all of them.  Upgrading to the latest PMwiki version had
> no effect.  I also purge all page history and also tried recreating
> the page using a new name with no effect.
> 
> I have been working intensely with my hosting company and they say
> there should be no issue (below).
> 
> We checked the standard server-side request size limits. PHP is
> currently allowing POST requests up to 24 MB, and IIS request
> filtering is allowing up to approximately 28.6 MB. A 14 KB save is far
> below both of those limits, so this does not appear to be caused by
> the normal PHP POST size limit or IIS request-size limit.
> 
> We are continuing to review this from the IIS/FastCGI side and will
> check for any related server-side errors or rules that may be
> triggering the 500 error during the PMWiki save request.
> 
> What can you recommend?
> 
> Thank you,
> 
> Michael Elliott



More information about the pmwiki-devel mailing list