forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: dwdessex 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
-
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.
-
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?
-
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.
-
Just a thought, but I'm guessing that there can be a conflict of php.ini files?
Rob
-
Have a look at phpinfo.php to get the current limits. Don't forget to restart your web server to apply the new settings.