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: Can't upload large files (php.ini updated)  (Read 11523 times)

0 Members and 1 Guest are viewing this topic.

nadioz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 90
Can't upload large files (php.ini updated)
« 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:

Quote
upload_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.
Logged

Nibbler

  • Guest
Re: Can't upload large files (php.ini updated)
« Reply #1 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.
Logged

nadioz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 90
Re: Can't upload large files (php.ini updated)
« Reply #2 on: January 06, 2010, 08:02:24 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 ?
Logged

Nibbler

  • Guest
Re: Can't upload large files (php.ini updated)
« Reply #3 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
Logged

nadioz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 90
Re: Can't upload large files (php.ini updated)
« Reply #4 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 ?
Logged

Nibbler

  • Guest
Re: Can't upload large files (php.ini updated)
« Reply #5 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.
Logged

nadioz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 90
Re: Can't upload large files (php.ini updated)
« Reply #6 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)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Can't upload large files (php.ini updated)
« Reply #7 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

nadioz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 90
Re: Can't upload large files (php.ini updated)
« Reply #8 on: January 06, 2010, 09:19:19 pm »

well that suck !  :-X

Thanks both for your help.  ;)
Logged

La nena de Nico Rosberg

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't upload large files (php.ini updated)
« Reply #9 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?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1539
  • aka 'i-imagine'
    • Home Page
Re: Can't upload large files (php.ini updated)
« Reply #10 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

I'm little newbie in coppermine.
Doesn't make any difference - people won't help until you follow board rules.

Locking
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.