• I was able to upload any mp3 files the last couple of months but today after I updated to 4.7.1 when I upload it says:
    “Bestie Taraka.mp3” has failed to upload.
    Sorry, this file type is not permitted for security reasons

    What should I do about it? It’s very important it works again as soon as possible

Viewing 10 replies - 1 through 10 (of 10 total)
  • Are you running any plugins for uploading or enhancing your media library?

    Thread Starter paialait

    (@paialait)

    It worked fine with the Plugins I had installed until I upgraded to WordPress 4.7.1

    Any idea on how to fix it?

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Probably related to this: https://www.ads-software.com/support/topic/wp-4-7-1-kills-svg/
    Changes to mime type handling have also broken svg support.

    Strike that, that issue is specifiy to exif_imagetype, which shouldnt apply to mp3. My bad.

    • This reply was modified 8 years, 1 month ago by freakpants.
    • This reply was modified 8 years, 1 month ago by freakpants.
    • This reply was modified 8 years, 1 month ago by freakpants.
    Thread Starter paialait

    (@paialait)

    It’s not related to Plugins and neither to the theme. I tried both and I still couldn’t upload mp3 files. I am able to upload images but I really have to be able to upload .mp3

    Same problem here with different WordPress installations.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Turns out it’s a bug:

    https://core.trac.www.ads-software.com/ticket/39550

    If you want to follow the ticket, click the “watch this ticket” link and you’ll receive emails as it is updated.

    workaround: with the plug in “add from server” it is possible to add mp3 files to the media library.

    You can also add define( 'ALLOW_UNFILTERED_UPLOADS', true );to wp-config.

    CAUTION: This will allow anyone with admin privileges to upload any file.

    Do not leave this in your wp-config file. Use it, then take it out of the wp-config. A pain but security is more important. There should be a fix in a few days.

    • This reply was modified 8 years, 1 month ago by kmessinger.
    • This reply was modified 8 years, 1 month ago by kmessinger.

    @svenatkins
    Thanks, that plugin is the best work-around solution.

    • This reply was modified 8 years, 1 month ago by kmessinger.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Uploading mp3 files doesn’t work anymore’ is closed to new replies.