Bug - Max upload size setting not working for multiple upload

Phoca Gallery - image gallery extension
rodedo
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Sep 2017, 10:04

Bug - Max upload size setting not working for multiple upload

Post by rodedo »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug - Max upload size setting not working for multiple upload

Post by Jan »

Hi, than you for the information, which version of Phoca Gallery do you use?

Jan
If you find Phoca extensions useful, please support the project
rodedo
Phoca Member
Phoca Member
Posts: 16
Joined: 12 Sep 2017, 10:04

Re: Bug - Max upload size setting not working for multiple upload

Post by rodedo »

Sorry for the delayed answer, I thought I subscribed to the post but it looks like I didn't so I did not see the question earlier...
Anyway, I am using phoca 4.3.6 with joomla 3.8.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug - Max upload size setting not working for multiple upload

Post by Jan »

Hi, thank you for the info, I will take a look at it when working on new version.
viewtopic.php?f=1&t=58233&p=148373#p148165
Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug - Max upload size setting not working for multiple upload

Post by Jan »

Hi, should be Ok in version 4.3.7
https://www.phoca.cz/news/961-phoca-gal ... 7-released

Jan
If you find Phoca extensions useful, please support the project
Post Reply