Recent Changes - Search:

PmWiki

pmwiki.org

UploadVariables-Talk


Cannot get rid of a Forced 2 Meg upload limit

I tried to set a large file limit to be able to upload larger files and pmwiki seems to restrict my upload anyways. Here is a sample of the code

$UploadMaxSize = 0;

$UploadExtSize['zip' ] = 10*1024*1024; // 10 meg

The goal is to allow to upload zip files which are less than 10 megs. But when I try to upload a 3 Megs, it gives me this error:

"file is larger than maximum allowed by webserver"

It seems to do that on all my sites whatever the config I use. There seems to always be a 2 meg limit. I was wondering if the problem was PMwiki or the webserver itself.

Nov 10th, 2012 by Larienna

It is likely a system limit of the webserver, see Cookbook:SystemLimits, about post_max_size and upload_max_filesize. --Petko November 10, 2012, at 10:50 AM


My uploading facility has been somehow disabled. I've tried dozens of things, and whatever I do, either nothing happens, or the screen goes blank.

I cannot add the upload password config line to the config.php. Even if I leave it empty, the screen goes blank.

Nothing else works, either.

Thanks for the help, John

This is a talk page for improving PmWiki.UploadVariables.

Edit - History - Print - Recent Changes - Search
Page last modified on November 10, 2012, at 10:50 AM