- This topic has 5 replies, 2 voices, and was last updated 9 years, 10 months ago by Theme Horse Support Team.
-
AuthorPosts
-
February 18, 2015 at 2:16 am #22127mbrijaParticipant
When uploading any media I am getting the following error:
“xxx.jpg” has failed to upload due to an error
Sorry, this file type is not permitted for security reasons.I am using Clean Retina free 1.3.5
Settings>Media>Mime types all listed.
GoDaddy support disabled the theme and uploaded a jpg. When theme is enabled, does not allow uploads.
February 18, 2015 at 6:27 am #22143Theme Horse Support TeamKeymasterhi mbrija,
Once you activate the other WordPress default theme(twentyfifteen, twentyfourteen etc) and try to upload the image whether it works or not.
Once you may try this below plugins too:
http://wordpress.org/extend/plugins/pjw-mime-config/
or
https://wordpress.org/plugins/ap-extended-mime-types/View this tutorial for more info
http://ask.xmodulo.com/this-file-type-is-not-permitted-for-security-reasons.htmlThank you!
February 19, 2015 at 1:32 am #22205mbrijaParticipantPlugins do not help, not able to upload media. Activating twentyfourteen allowed me to upload media. Not the best solution.
February 19, 2015 at 5:51 am #22214Theme Horse Support TeamKeymasterHi mbrija,
Are you working on multisite? If yes then
On your network admin => settings => general, you may had these as your allowed files types for uploading:
jpg, jpeg, png, gif, doc, pdf, mp3, ppt, wmv, mp4, xls, ins, isf, te, xbk, notebook, m4a, ist, kmz, kes, mov, flp, avi, swf, wxr, xml, wav, fjsw, docx, pptx, xlsx, xml, m4v, max, kmz, zip
Instead it should be like this:
jpg jpeg png gif doc pdf mp3 ppt wmv mp4 xls ins isf te xbk notebook m4a ist kmz kes mov flp avi swf wxr xml wav fjsw docx pptx xlsx xml m4v max kmz zip
The difference is the commas… it should NOT be a comma-separated list. If still not solving your issue then please send your temporary username and password at our email, We will take a look
Thank you!
February 20, 2015 at 1:05 am #22260mbrijaParticipantI am not using multisite.
February 20, 2015 at 6:03 am #22266Theme Horse Support TeamKeymasterHi mbrija,
We are not facing this problem. If we found any problem relating to this issue then we will let you know. Could you once send your temporary username and passoword at our Email, we will try to help you. Don’t forget to send this forum link too. First of all deactivate all the plugins that you have installed in your dashboard. Some times some plugins may also restict to upload the images. If still the same problem then,
Just add this code inside wp-config.php file
define('ALLOW_UNFILTERED_UPLOADS', true);
This code inside functions.php file
add_filter('upload_mimes', 'pixert_upload_types'); function pixert_upload_types($existing_mimes=array()){ $existing_mimes['jpg'] = 'images'; return $existing_mimes; }
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.