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

Summary: Fix hard-coded upload size limit
Product: OMP Reporter: Alec Smecher <alec>
Component: GeneralAssignee: PKP Support <pkp-support>
Severity: normal    
Priority: P3    
Version: 1.1   
Hardware: All   
OS: All   
Version Reported In: Also Affects:

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