Title: Diffrent errors on uploading
Last modified: August 21, 2016

---

# Diffrent errors on uploading

 *  Resolved [martin.kreativermoment](https://wordpress.org/support/users/martinkreativermoment/)
 * (@martinkreativermoment)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/)
 * All of a sudden I get error messages
 * I tried to upload a file with a JPG extension I got this:
 * File has an invalid extension, it should be one of jpeg, bmp, png, gif.
 * I have added JPG and jpg to the allowed fileextesions in Pluginoptiions
    and 
   also in the form itself.
 * I tried to upload a jpg with a size 582kb and got this:
 * File is too large. Max 524288 M
 * Thanks for helping
 * [https://wordpress.org/plugins/gravity-forms-advanced-file-uploader/](https://wordpress.org/plugins/gravity-forms-advanced-file-uploader/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [martin.kreativermoment](https://wordpress.org/support/users/martinkreativermoment/)
 * (@martinkreativermoment)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857178)
 * The only thing i could imaging it came from is, that i’ve set up a php.ini and
   made something wrong ther. I deleted the file… nothing changed
 *  Thread Starter [martin.kreativermoment](https://wordpress.org/support/users/martinkreativermoment/)
 * (@martinkreativermoment)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857186)
 * I’ve also reinstalled the plugin… didn’t help
 *  Thread Starter [martin.kreativermoment](https://wordpress.org/support/users/martinkreativermoment/)
 * (@martinkreativermoment)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857221)
 * I can’t edit my previous post, sorry for making so much o them:
 * Maybe you should also know I moved my wordpress installation to antoher server.
 *  Thread Starter [martin.kreativermoment](https://wordpress.org/support/users/martinkreativermoment/)
 * (@martinkreativermoment)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857280)
 * Found a sollution by editing class.core.init.uploader.php
 * Changing
 * //Set security default – images only
    $uploader->allowedExtensions = array(‘jpeg’,‘
   bmp’, ‘png’, ‘gif’, ‘JPG’, ‘jpg’);
 * and this
 * //Set security default – 0.5 MB
    $uploader->sizeLimit = 5.5 * 1024 * 1024;
 *  Plugin Author [ben.moody](https://wordpress.org/support/users/benmoody/)
 * (@benmoody)
 * [12 years ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857468)
 * Hi
 * You will need to check the validation settings of the uploader field iteself 
   in the form creation view of gravity forms.
 * Both these arrays take data from the uploader field config in the gravity forms
   form edit view.
 * Thanks
 * Ben

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Diffrent errors on uploading’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-advanced-file-uploader_eeeeee.
   svg)
 * [Gravity Forms Advanced File Uploader](https://wordpress.org/plugins/gravity-forms-advanced-file-uploader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-advanced-file-uploader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-advanced-file-uploader/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-advanced-file-uploader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-advanced-file-uploader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-advanced-file-uploader/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [ben.moody](https://wordpress.org/support/users/benmoody/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/diffrent-errors-on-uploading/#post-4857468)
 * Status: resolved