coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: nadioz on January 06, 2010, 07:48:04 PM

Title: Can't upload large files (php.ini updated)
Post by: nadioz on January 06, 2010, 07:48:04 PM
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.
Title: Re: Can't upload large files (php.ini updated)
Post by: 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.
Title: Re: Can't upload large files (php.ini updated)
Post by: nadioz on January 06, 2010, 08:02:24 PM
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 ?
Title: Re: Can't upload large files (php.ini updated)
Post by: Nibbler on January 06, 2010, 08:09:23 PM
According to what you wrote above, you changed two other settings. You need to change memory_limit
Title: Re: Can't upload large files (php.ini updated)
Post by: nadioz on January 06, 2010, 08:13:49 PM
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 ?
Title: Re: Can't upload large files (php.ini updated)
Post by: Nibbler on January 06, 2010, 08:27:09 PM
Set it as high you need to process the images you upload. Try 32/64/128 until it works.
Title: Re: Can't upload large files (php.ini updated)
Post by: nadioz on January 06, 2010, 08:40:05 PM
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)
Title: Re: Can't upload large files (php.ini updated)
Post by: phill104 on January 06, 2010, 09:11:42 PM
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.
Title: Re: Can't upload large files (php.ini updated)
Post by: nadioz on January 06, 2010, 09:19:19 PM
well that suck !  :-X

Thanks both for your help.  ;)
Title: Re: Can't upload large files (php.ini updated)
Post by: La nena de Nico Rosberg on January 20, 2010, 12:25:18 AM
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?
Title: Re: Can't upload large files (php.ini updated)
Post by: Joe Carver on January 20, 2010, 12:36:17 AM
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