Error max size when upload a file

Phoca Cart - complex e-commerce extension
ketbel
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Jul 2022, 09:40

Error max size when upload a file

Post 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

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

Re: Error max size when upload a file

Post by Jan »

Hi, do you use Phoca Cart or Phoca Download?

Jan
If you find Phoca extensions useful, please support the project
ketbel
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Jul 2022, 09:40

Re: Error max size when upload a file

Post by ketbel »

Hi,

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

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

Re: Error max size when upload a file

Post by Jan »

In both, you can set this value in Options. Just see the component's options and change this value.

Jan
If you find Phoca extensions useful, please support the project
ketbel
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Jul 2022, 09:40

Re: Error max size when upload a file

Post by ketbel »

Ok. I will try.

Ketil
ketbel
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Jul 2022, 09:40

Re: Error max size when upload a file

Post 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?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error max size when upload a file

Post by Benno »

Hi,
see:

Image

Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error max size when upload a file

Post 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
If you find Phoca extensions useful, please support the project
ketbel
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Jul 2022, 09:40

Re: Error max size when upload a file

Post by ketbel »

Thank you.
I found it under "Form - Security Options".

Regards
Ketil
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error max size when upload a file

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply