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: Upload Image Size Error  (Read 4076 times)

0 Members and 1 Guest are viewing this topic.

haters

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Upload Image Size Error
« on: July 10, 2013, 06:15:19 pm »

Hey,

I've looked around for a while to find a fix for this issue. I can't upload anything above 1MB.
I changed the config settings to allow 2 MB. However I get this issues:

Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 19008 bytes) in /home/content/67/10714767/html/gallery/include/picmgmt.inc.php on line 437

I tried adding
ini_set ('memory_limit', '150M');
at the top of the picmgmt.inc.php file but I just get an error and can't access the upload page.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4826
    • Windsurf.me
Re: Upload Image Size Error
« Reply #1 on: July 10, 2013, 06:37:22 pm »

As per your other post, adding that code does not always work depending on how your host has setup their server. In some cases there are hard limits but that is not too common these days. In most cases you can increase the memory limit via a .htaccess file or a local php.ini file. Best option is to speak to your host and let them assist you as they are the only ones who really know their setup.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Upload Image Size Error
« Reply #3 on: March 01, 2014, 08:23:47 am »

Can you upload big images now?

If you have access to ftp upload on your server you can use filezilla https://filezilla-project.org/ to overwrite the uploded images with the real size images.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.