Bug - Max upload size setting not working for multiple upload

Before you ask see the Phoca Gallery User Manual
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 » 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.


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 39060
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 29 Sep 2017, 13:57

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 » 13 Oct 2017, 11:14

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: 39060
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 13 Oct 2017, 14:56

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests