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: Error Uploading Larger Files  (Read 3160 times)

0 Members and 1 Guest are viewing this topic.

dwdessex

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Error Uploading Larger Files
« on: March 11, 2012, 12:07:51 am »

I've just set up a gallery for my local climbing club and I'm having issues with larger photos. I've read through various posts and help info and so far I've increased the size (went silly up to 500MB, but still gets error) of the allowed files/upload in the php.ini file.

I either get a blank error box or a an "allowed memory size" error. Tried multiple and single uploads.

Here are the details of the gallery and test account

http://cmcnew.rpldriving.co.uk/gallery
user - testuser
password - testpassword

I know that I can get people to reduce the size of the photo to make it work, but in the nicest way, some of the people who use the site struggle to send an email!

Is there anything else I could try?

Cheers

Rob
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Error Uploading Larger Files
« Reply #1 on: March 12, 2012, 11:09:14 am »

Increasing upload size limits won't fix any memory issues. Instead, you should try to increase memory_limit and maybe also max_execution_time in the PHP configuration.
Logged

dwdessex

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error Uploading Larger Files
« Reply #2 on: March 17, 2012, 12:13:31 am »

Hi, thanks for the reply.

I've tried that, I maxed the settings to something that would be over and above anything that should be needed:

upload_max_filesize=20000M
post_max_size=20000M
max_input_time=20000
max_execution_time=20000
max_input_time=20000
memory_limit=20000M

Looking at the debug output, the file appears to load in full, but all I get is an 'upload failed' message and a blank pop-up error message.

Any suggestions?
Logged

dwdessex

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error Uploading Larger Files
« Reply #3 on: March 17, 2012, 12:28:17 am »

If it helps, attached is a screen shot of the error message.

I appear to get a blank error when a standard user, and this error as an admin.

Logged

dwdessex

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Error Uploading Larger Files
« Reply #4 on: March 17, 2012, 12:37:41 am »

Just a thought, but I'm guessing that there can be a conflict of php.ini files?

Rob
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Error Uploading Larger Files
« Reply #5 on: March 17, 2012, 09:25:02 am »

Have a look at phpinfo.php to get the current limits. Don't forget to restart your web server to apply the new settings.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.