File size exceeds allowed limit

General questions about CMSimple
Post Reply
ustalo
Posts: 130
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

File size exceeds allowed limit

Post by ustalo » Wed May 19, 2021 5:16 am

File size exceeds allowed limit (50M). You can increase the limit by increasing the PHP setting "post_max_size".

Masters, where I have to change allowed size?

I try plug-in Uploader
when upload finish i see - forbidden
files does not upload to server
Aleksei

manu
Posts: 980
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: File size exceeds allowed limit

Post by manu » Wed May 19, 2021 10:22 am

50MB is pretty much for file upload.
See settings > images maxsize and Download maxsize. Check for php.ini setting in the tooltip there.

ustalo
Posts: 130
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: File size exceeds allowed limit

Post by ustalo » Wed May 19, 2021 1:15 pm

I try upload not a image, audio, media. I i did not found any file
php.ini
Aleksei

ustalo
Posts: 130
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: File size exceeds allowed limit

Post by ustalo » Wed May 19, 2021 1:26 pm

where is php.ini ?
Aleksei

cmb
Posts: 13768
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: File size exceeds allowed limit

Post by cmb » Wed May 19, 2021 2:37 pm

ustalo wrote:
Wed May 19, 2021 1:26 pm
where is php.ini ?
Go to Settings → Info → PHP Info. The locations of the ini file(s) should be listed there. If you're on shared hosting, you may not be allowed to modify these files.
Christoph M. Becker – Plugins for CMSimple_XH

ustalo
Posts: 130
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: File size exceeds allowed limit

Post by ustalo » Thu May 20, 2021 7:19 am

Thx. I see, php.ini depend to hosting, not cmsimple.
Aleksei


cmb
Posts: 13768
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: File size exceeds allowed limit

Post by cmb » Thu May 20, 2021 9:33 pm

ustalo wrote:
Wed May 19, 2021 5:16 am
I try plug-in Uploader
when upload finish i see - forbidden
files does not upload to server
Please try to change this line to:

Code: Select all

        $config['chunk_size'] = '1000000';
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply