X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/70e8909a9ba93d0fe0732223e3578ca83c1bfc1d..c142dba356b757facd6684a99623c58430b7221e:/doc/bugs/Unable_to_add_attachments_to_some_pages.mdwn diff --git a/doc/bugs/Unable_to_add_attachments_to_some_pages.mdwn b/doc/bugs/Unable_to_add_attachments_to_some_pages.mdwn index 16b474d87..c7fe0bd15 100644 --- a/doc/bugs/Unable_to_add_attachments_to_some_pages.mdwn +++ b/doc/bugs/Unable_to_add_attachments_to_some_pages.mdwn @@ -7,3 +7,25 @@ I'm running ikiwiki version 3.20100815.7 on Debian Squeeze. Please advise. + + +> I get the following error in apache error.log +> Died at /usr/share/perl5/IkiWiki/CGI.pm line 466. +> -- [[aland]] + +> Well, what subpages are you trying to add it to? What is your +> `allowed_attachments` PageSpec set to in your setup file? --[[Joey]] + +>> I can reproduce this by creating a new ikiwiki using the auto.setup + +>> I create a subpage of index called "projects" and a subpage of projects called "Firewall Replacement 2010-2011" +>> and when I add attachment to the subpages I get the error. + +>> I dont have an `allowed_attachments` section in my setup file +>> But I've set an `allowed_attachments` like `allowed_attachments => 'maxsize(40000kb) and mimetype(*)',` and I still get the error. +>> Thanks --[[aland]] + +>>> Being the subpage of index is the problem. It's not usual to have +>>> any other page as a subpage of index; as there's really no reason to do +>>> that, so some code broke in that special case. [[fixed|done]] +>>> --[[Joey]]