• Resolved steffenharris

    (@steffenharris)


    Since the 4.7.1 update I am no longer able to upload podcast files without getting this error. Nothing changed about how we save our audio files. The files are consistently between 5-15 Mb each. I’m able to upload images (jpg, png are ones I tested), PDF files, but audio files, it won’t work.

    I’m logged in as the admin, again, nothing has changed with my workflow and how I do things, but now I’m getting this error.

    I’ve googled this issue and none of the troubleshooting I have found are relevant to this version of wordpress.

Viewing 15 replies - 1 through 15 (of 31 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It’s a known bug. See https://www.ads-software.com/support/topic/read-this-first-wordpress-4-7-master-list/#post-8521428 for info and a temporary (until 4.7.2) workaround.

    Perhaps this article will help?
    https://pixert.com/blog/wordpress-file-type-permitted-security-reasons/

    Adding the following line to wp-config.php cured the error for SVGs:
    define( 'ALLOW_UNFILTERED_UPLOADS', true );

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    FLOQ: No, that define is a BAD IDEA. It’s a giant security hole. Until 4.7.2 comes out, use the plugin referenced in the Master List link (above).

    Thread Starter steffenharris

    (@steffenharris)

    That did not work either Steve. I’m uploading m4a files, I still get the same error with the plugin installed.

    Thread Starter steffenharris

    (@steffenharris)

    Never mind, I’m an idiot, I forgot to activate the plugin. Thank you

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    We’ve all been there. ??

    KristiHugs

    (@crystalbasics)

    I went to the page you suggested steve and there is no plugin or temporary work around. It does not even list the media file not permitted for security reasons. Am I missing something?

    answer: yes, I missed it all together. Once I put my glasses on, I found it easily enough. Thank you!! and sorry for being such a dweeb.

    • This reply was modified 8 years, 1 month ago by KristiHugs.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Thank you Steve! I have had this same problem for about 2-3 weeks. Finally, something that worked. So thankful! ??

    KristiHugs

    (@crystalbasics)

    yes, I missed it all together. Once I put my glasses on, I found it easily enough. Thank you!! and sorry for being such a dweeb. Thank you!!

    deeveedee

    (@deeveedee)

    When I attempt to upload .png image files, I receive the “This file type is not allowed” error. Adding and activating the “Disable Real MIME Check” plugin does not help. According to the MIME type listing provided by “WP Add MIME Types” plugin, image/png is not a MIME type allowed by WordPress 4.7.2. Adding the image/png MIME type using this plugin does not fix my inability to upload .png images.

    Note that I have .png images that I have previously uploaded without problems before WP 4.7.2.

    deeveedee

    (@deeveedee)

    I was able to allow the image/png MIME type by adding the following to my child theme’s functions.php:

    
    function custom_upload_mimes( $existing_mimes=array() ) {
    	// add png to the list of mime types
    	$existing_mimes['png'] = 'image/png';
    
    	// return the array back to the function with our added mime type
    	return $existing_mimes;
    }
    add_filter( 'upload_mimes', 'custom_upload_mimes' );
    
    gigsforgrabs

    (@gigsforgrabs)

    HI there

    I am still having the same issue i have just update to 4.7.3 and its still telling me this file type is not permitted. Its very frustrationg as this is for my business and i cant use my site properly.

    please help someone i have probably not done something but if someone could talk me though it in laymans terms i would be grateful.

    regards Kerry

    I’m having the same issue in 4.7.3 when trying to upload .ogg files using the HTML5 jQuery Audio plugin. I gave the developer access and he says he’s certain it’s the web hosting company (HostGator), so I reached out to them, but they say there’s nothing wrong on their end.

    Yep i have the same problem, i went on live chat with hostgator and the bottom line it is them they are stopping any mp3, mp4 and wav formatting files. I have had to move to another hosting company. Complete waste of money!!

    I have told if i had a dedicated hosting page it would be fine Yeah sure $2500 i dont have that type of funding right now.

    So my web designer aid she would find a solution and is working on it.

    Hope you come right.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Sorry, this file type is not permitted for security reasons’ is closed to new replies.