Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: File is larger than max size allowed.  (Read 9830 times)

0 Members and 1 Guest are viewing this topic.

stefy3xoxo

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
File is larger than max size allowed.
« on: November 03, 2019, 03:48:40 pm »

I've recently moved to a new hoster and now when I try to upload some photos this is what cpg says: "File is larger than max size allowed." The photos were all around 6000*4000 px and about 15 MB, I did resized them and even if they are around 7 or 8 MB I still can't upload them. I've attached the file setting and php infos.
Thanks
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: File is larger than max size allowed.
« Reply #1 on: November 03, 2019, 05:43:23 pm »

You will have to adjust your PHP settings. It is only allowing 2MB file size uploads. Or if that is not possible, you can configure the HTML5 upload plugin and set its upload size to as large as you want. It will then upload the files in chunks for anything that is larger than what PHP will allow.
Logged

stefy3xoxo

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: File is larger than max size allowed.
« Reply #2 on: November 03, 2019, 07:41:33 pm »

You will have to adjust your PHP settings. It is only allowing 2MB file size uploads. Or if that is not possible, you can configure the HTML5 upload plugin and set its upload size to as large as you want. It will then upload the files in chunks for anything that is larger than what PHP will allow.

Thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.