Log in

View Full Version : "Upload of file failed" Error When Uploading Large Photos. Help!


BENBOBBY
09-26-2009, 09:47 AM
Hi,

I get "Upload of file failed" messages when trying to upload large photos (e.g. 3264 x 2448, 2.21MB) to albums on my forum.

Smaller images work fine, however most photos taken on modern digital cameras are similar sizes to the example above. Not everyone has access to image resizing software and its more hassle.

It does say "Pictures will be automatically resized to fit within these constraints if possible..." so I tried raising the maximum picture dimensions and size to 800 x 600 and 2.00 MB, but still no luck. My Image Processing Library is set to GD if that makes any difference.

Anyone know a fix for this?
Thanks.

Lynne
09-26-2009, 03:52 PM
There are all settings that can effect uploading of images. Look in your error_logs (if you don't know where they are, ask your host) to see if more specifics are given regarding the error:
These settings may also effect your attachments:

PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
max_packet_size
wait_timeout

BENBOBBY
09-27-2009, 10:09 PM
Fixed thanks!

chikkoo
01-12-2010, 04:04 AM
Fixed thanks!

can u tell us, how you fixed it.
I have similar problem now.