Bug 8203

Summary: Fix hard-coded upload size limit
Product: OMP Reporter: Alec Smecher <alec>
Component: GeneralAssignee: PKP Support <pkp-support>
Status: RESOLVED FIXED    
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
https://github.com/pkp/pkp-lib/commit/a7dcf6d323e982861e19819ed4d3bb33ab472e1f