I kept having these Upload Failed "" error when I was uploading pictures to my install of the excellent Menalto Gallery webapp software. I tried various ways of uploading- the upload applet & the form-based way but nothing worked. I wondered why certain images (the smaller sized ones) uploaded fine while the others failed. Well it turns out that it's a PHP issue- in php.ini you will see this line:
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
The default is set to 2 megs, which means anything larger than 2 megs would not be allowed to be uploaded. So simply change it to something like 16M and the uploading will work. Remember to restart the webserver in order to have updated php settings take effect.
Subscribe to:
Post Comments (Atom)
2 comments:
Thank you!! Had the same problem and couldn't find a solution until I saw your post :-)
Thanks! :-)
Post a Comment