Upload Image Size Error Upload Image Size Error
 

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]

Main Menu

Upload Image Size Error

Started by haters, July 10, 2013, 06:15:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

haters

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.

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.


allvip

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.