We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 8203 - Fix hard-coded upload size limit
Fix hard-coded upload size limit
Product: OMP
Classification: Unclassified
Component: General
All All
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2013-04-22 10:19 PDT by Alec Smecher
Modified: 2013-11-22 09:42 PST (History)
0 users

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2013-04-22 10:19:40 PDT
There is a hard-coded 20M upload limit in lib/pkp/js/controllers/UploadHandler.js approx. line 128:

max_file_size: '20mb',

This should be adjusted to use instead the value configured in PHP and already exposed for display e.g. in lib/pkp/templates/controllers/wizard/fileUpload/form/fileUploadForm.tpl via the $maxFileUploadSize variable.
Comment 1 Alec Smecher 2013-11-21 12:04:02 PST
Use PHP file upload limit config rather than hard-coded limit