Error Uploading Larger Files Error Uploading Larger Files
 

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

Error Uploading Larger Files

Started by dwdessex, March 11, 2012, 12:07:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwdessex

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

Αndré

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.

dwdessex

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?

dwdessex

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.


dwdessex

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

Rob

Αndré

Have a look at phpinfo.php to get the current limits. Don't forget to restart your web server to apply the new settings.