No uploadlimit - still file to big?

Phoca Gallery - image gallery extension
Re1981
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jun 2009, 10:11
Location: The Netherlands

No uploadlimit - still file to big?

Post by Re1981 »

Hi everybody!

I've set my upload properties to 0 (zero) so there has to be no limit. But I still get the message that my file is to big (1,1 mb) while uploading it. How's this possible?

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

Re: No uploadlimit - still file to big?

Post by Jan »

Please let me know where you are uploading files and which method you are using?
If you find Phoca extensions useful, please support the project
Re1981
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jun 2009, 10:11
Location: The Netherlands

Re: No uploadlimit - still file to big?

Post by Re1981 »

I'm uploading the photos in the frontend (underneath the album where the pictures has to be in) and I'm using Java

Uploading in backend with java is no problem.

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

Re: No uploadlimit - still file to big?

Post by Jan »

Hi, did you set it in parameters component of the menu link:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
If you find Phoca extensions useful, please support the project
Re1981
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jun 2009, 10:11
Location: The Netherlands

Re: No uploadlimit - still file to big?

Post by Re1981 »

Yes they're also set to 0 (zero) in the parameters component of the menu link

BTW I'm using version 2.5.0
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No uploadlimit - still file to big?

Post by Jan »

It seems like java upload script doesn't accept 0 but need "" (in the manual there is written it takes the same way 0 as "")

I will change the script so instead of 0 the "" will be added to the script.

for now you can set some large amount (e.g. the same large as your server limit is)

The problem with large files can be in converting the image to thumbnails and getting fatal error from GD (about the memory) so it is recommended to not set 0 there

Jan
If you find Phoca extensions useful, please support the project
Re1981
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jun 2009, 10:11
Location: The Netherlands

Re: No uploadlimit - still file to big?

Post by Re1981 »

OK, Thank you!
Post Reply