Can't upload large files (php.ini updated) Can't upload large files (php.ini updated)
 

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

Can't upload large files (php.ini updated)

Started by nadioz, January 06, 2010, 07:48:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nadioz

Hi !

i can't upload pictures larger than 1100 x 1100 since early december

I get this message error: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7800 bytes) in /homepages/0/d213681505/htdocs/photos/include/picmgmt.inc.php on line 432


so i looked on the board and the Faq i contacted my host about the php.ini files. they told me how i could change the value which i did :

What i have now:

Quoteupload_max_filesize = 10M
post_max_size = 10M


But even after that i still have the same error.

I have the last version of coppermine


my website : http://lovelylopez.net/photos

i created this accont for the tests

User: test
pass: test01


I hope i didn't forget anything.

Nibbler

The message is about the memory limit, so you need to be increasing the memory_limit setting.

nadioz

Quote from: Nibbler on January 06, 2010, 07:50:41 PM
The message is about the memory limit, so you need to be increasing the memory_limit setting.

isn't it what i did in the php.ini file ? it was at 8M and now is at 10M or is that not enough ?

Nibbler

According to what you wrote above, you changed two other settings. You need to change memory_limit

nadioz

OK Thanks so i changed memory limit to 14M

and i have the same error : Fatal error: Allowed memory size of 14680064 bytes exhausted (tried to allocate 7800 bytes) in /homepages/0/d213681505/htdocs/photos/include/picmgmt.inc.php on line 432

can i change it to a much higher number ?

Nibbler

Set it as high you need to process the images you upload. Try 32/64/128 until it works.

nadioz

So now it's set at 32M and i have a different error.

just : Error 500 - Internal server error

(and same error with 25M or 100M)

phill104

That usually means there is a physical limit on your server for which there is nothing you can do to fix it, only your host can. If you are on a shared server they are unlikely to do anything.
It is a mistake to think you can solve any major problems just with potatoes.

nadioz

well that suck !  :-X

Thanks both for your help.  ;)

La nena de Nico Rosberg

Hello,

I have a similar error... but I don't know how to solve it or to do... I tried to help me with this post but it was impossible. I'm little newbie in coppermine.
The error is:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 9088 bytes) in /home/valgaminf/domains/nicorosberg.es/public_html/fan_zone/include/picmgmt.inc.php on line 262


What is due this error? What can I do to fix it?

Joe Carver

Follow board rules - you should know better by now.......
1) Don't hijack someone else's thread
2) Post a link to your Coppermine
3) Read the documents about asking for help on upload issues

Quote from: La nena de Nico Rosberg on January 20, 2010, 12:25:18 AM
I'm little newbie in coppermine.
Doesn't make any difference - people won't help until you follow board rules.

Locking