Page 1 of 1

Error max size when upload a file

Posted: 01 Jul 2022, 10:42
by ketbel
Hi

I have installed Pocha Cart 4.0.1, done the wizards setup, added a product, and wanna upload a mp3-file (3,5 MB) in the field "Public download file", but I got this error: This file is too large to upload. (3.63 MB).

In Phoca Download I have set the "Maximum Upload Size (Administration)" to 90000000. I have tried with zero for no limit. Still I got the error This file is too large to upload. (3.63 MB).

I have also looked in the php.ini file, and the "post_max_size" is set to 30M.

I trying Joomla 4 .1.5, Phoca Cart 4.0.1 and Phoca Download 4.0.2.
I have set up a server with MAMP PRO. PHP version 7.4.21.

How can I solve this problem?


Regards
Ketil

Re: Error max size when upload a file

Posted: 01 Jul 2022, 16:29
by Jan
Hi, do you use Phoca Cart or Phoca Download?

Jan

Re: Error max size when upload a file

Posted: 02 Jul 2022, 00:06
by ketbel
Hi,

I use both. Installed Phoca Cart first, and second Phoca Download.

Ketil

Re: Error max size when upload a file

Posted: 04 Jul 2022, 16:12
by Jan
In both, you can set this value in Options. Just see the component's options and change this value.

Jan

Re: Error max size when upload a file

Posted: 15 Jul 2022, 11:13
by ketbel
Ok. I will try.

Ketil

Re: Error max size when upload a file

Posted: 16 Jul 2022, 09:15
by ketbel
Hi

I have search the Phoca cart configuration, but I don't find an option or field where I can change the value for Max size to upload files. Do I look at wrong place?

Re: Error max size when upload a file

Posted: 16 Jul 2022, 11:06
by Benno
Hi,
see:

Image

Kind regards,
Benno

Re: Error max size when upload a file

Posted: 16 Jul 2022, 14:21
by Jan
BTW, there are two options with the same name (this is language bug in XML and is fixed in latest Beta: https://github.com/PhocaCz/PhocaCart/re ... Beta14.zip ) One is for frontend upload, second for backend upload.


Jan

Re: Error max size when upload a file

Posted: 18 Jul 2022, 12:59
by ketbel
Thank you.
I found it under "Form - Security Options".

Regards
Ketil

Re: Error max size when upload a file

Posted: 18 Jul 2022, 13:21
by Benno
You're welcome!

Kind regards,
Benno