Error Uploading Larger Files Error Uploading Larger Files
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.