Bug - Max upload size setting not working for multiple upload
Posted: 28 Sep 2017, 14:19
Steps to reproduce:
- Enable multiple upload for user (Phoca Gallry Options->Users->UploadSettings->Enable Multiple Upload = yes)
- Set Max upload size to 0 (according to help this means "no limit") (Phoca Gallry Options->Users->UploadSettings->Maximal Upload Size)
- Let Maximal Size of all User's Images to default (Phoca Gallry Options->Users->UploadSettings->Maximal Size of all User's Images)
- Save settings
- Create and save a category where Upload Rights is set to "All registered users"
- Log-in on front-end
- access the category created before
- try to upload a couple of files with multiple upload.
--> regardless of the size of the selected files all of them will trigger the error "file too large".
The same behavior is experienced with a value of, for example 2000 but it works as expected for value 20971520 (which is the default for the field Maximal Size of all User's Images).
Please, note that same files can be uploaded singularly without any issue. This means that the setting is properly "read" by the single file upload but not from the multiple upload.
- Enable multiple upload for user (Phoca Gallry Options->Users->UploadSettings->Enable Multiple Upload = yes)
- Set Max upload size to 0 (according to help this means "no limit") (Phoca Gallry Options->Users->UploadSettings->Maximal Upload Size)
- Let Maximal Size of all User's Images to default (Phoca Gallry Options->Users->UploadSettings->Maximal Size of all User's Images)
- Save settings
- Create and save a category where Upload Rights is set to "All registered users"
- Log-in on front-end
- access the category created before
- try to upload a couple of files with multiple upload.
--> regardless of the size of the selected files all of them will trigger the error "file too large".
The same behavior is experienced with a value of, for example 2000 but it works as expected for value 20971520 (which is the default for the field Maximal Size of all User's Images).
Please, note that same files can be uploaded singularly without any issue. This means that the setting is properly "read" by the single file upload but not from the multiple upload.