Uploaded file size

Project:ProjectPier
Version:0.8.0.3
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed - by design
Description

I am submitting this as a bug report rather than a feature request because these days it is unreasonable to have a low file size limitation.

Project Pier works fairly reasonable as a group collaboration tool, but setting a 2 MB file size limit can limit its usefulness. It really is not that difficult to exceed the 2 MB limit with most office file formats (Word, Excel, Powerpoint) and other formats can easily exceed the limit too.

If Project Pier wants to continue being a collaboration tool, then it needs to remove this restriction. It is very important to keep all files relevant to a project in one location so that all project participants know where to go to find the project collateral. If smaller files can be stored in Project Pier and larger ones need to be stored elsewhere, then this greatly handicaps then usefulness of Project Pier. In many cases would prevent Project Pier from being sought after as a group collaboration tool.

#1

Issent that a Webserver config issue? On my testinstalation I am able to upload what I set in the php.ini. In my case 250MB.

~Hermann

#2

This is indeed to do with how your webserver is set up

Here are the php ini settings that you need to change(taken from http://uk.php.net/ini.core):

post_max_size integer
Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size . When an integer is used, the value is measured in bytes. You may also use shorthand notation as described in this FAQ. If the size of post data is greater than post_max_size, the $_POST and $_FILES superglobals are empty. This can be tracked in various ways, e.g. by passing the $_GET variable to the script processing the data, i.e. , and then checking if $_GET['processed'] is set.

upload_max_filesize integer
The maximum size of an uploaded file.

When an integer is used, the value is measured in bytes. You may also use shorthand notation as described in this FAQ.

#3

Should we close this bug report?

#4
Status:new» closed - by design

Max upload limit is controlled by webserver config and php config (and sometimes db config). It can be further restricted by the application, but is not (AFAIK). The point is well taken, but can not be controlled through this application's scope.

#5
Version:<none>» 0.8.0.3

I did want to note (since I didn't know this before) that once you have changed your php.ini file, ProjectPier's "Files" section will automatically update the upload warning statement to indicate the increased limit of your server.

I initially thought that I would have to change this manually, but ProjectPier is pulling that information from the ini file.