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 » 01 Jul 2022, 10:42

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

Re: Error max size when upload a file

Post by Jan » 01 Jul 2022, 16:29

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 » 02 Jul 2022, 00:06

Hi,

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

Ketil

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

Re: Error max size when upload a file

Post by Jan » 04 Jul 2022, 16:12

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 » 15 Jul 2022, 11:13

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 » 16 Jul 2022, 09:15

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: 8225
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error max size when upload a file

Post by Benno » 16 Jul 2022, 11:06

Hi,
see:

Image

Kind regards,
Benno

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

Re: Error max size when upload a file

Post by Jan » 16 Jul 2022, 14:21

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 » 18 Jul 2022, 12:59

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

Regards
Ketil

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

Re: Error max size when upload a file

Post by Benno » 18 Jul 2022, 13:21

You're welcome!

Kind regards,
Benno

Post Reply