Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: File is larger than max size allowed.  (Read 3662 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: 1578
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.026 seconds with 19 queries.