Kulekov - Cập nhật tin nóng, tin tức nhiều lĩnh vực mỗi ngày
  • Home
  • Công Nghệ
  • Du Lịch
  • Ẩm Thực
No Result
View All Result
  • Home
  • Công Nghệ
  • Du Lịch
  • Ẩm Thực
No Result
View All Result
Kulekov - Cập nhật tin nóng, tin tức nhiều lĩnh vực mỗi ngày
No Result
View All Result
Home Công Nghệ

SORRY THIS FILE TYPE IS NOT PERMITTED FOR SECURITY REASONS IN WORDPRESS

admin by admin
July 19, 2020
in Công Nghệ
18
SORRY THIS FILE TYPE IS NOT PERMITTED FOR SECURITY REASONS IN WORDPRESS



Upload file .rar, .pdf, .exe any other file upload in WordPress.

This is error “sorry this file type is not permitted for security reasons”.

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.

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

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’ );

WordPress upload audio files,
WordPress upload .PDF, .rar and other file uploading in wordpress,

Nguồn: https://kulekov.com/

Xem thêm bài viết khác: https://kulekov.com/cong-nghe/

Xem thêm Bài Viết:

  • Kinh nghiệm cá cược Euro 2021 hiệu quả tới 99% cho các tân binh
  • ASRock ra mắt đầy đủ các dòng bo mạch chủ Intel 500 Series với các tính năng tốt nhất trong phân khúc
  • Hướng dẫn hạ cấp iOS 10.x xuống 8.4.1 bằng Tweak Downgrade by FTiOS
  • Đánh giá Sony Xperia ZR Docomo – Hàng HOT dưới 2 triệu
  • Photo CMND giấy phép lái xe 2 mặt trên 1 tờ giấy A4
Previous Post

Sau nợ thuế ở Ninh Bình, Đại gia Xuân Trường bị thanh tra phát hiện ăn chênh hàng chục tỷ ở Phú Thọ

Next Post

2HYPE House Plays MONOPOLY - Funny Moments

Next Post
2HYPE House Plays MONOPOLY – Funny Moments

2HYPE House Plays MONOPOLY - Funny Moments

Comments 18

  1. Mehedi Hassan jibon says:
    2 years ago

    txn..a lot

    Reply
  2. Avi Roy says:
    2 years ago

    Thanks 🙂

    Reply
  3. Hannan Baig says:
    2 years ago

    Didnt work

    Reply
  4. بندر بن عبدالله says:
    2 years ago

    thank you very very ery muchhhhhhhhhhhhhhhhhhhh

    Reply
  5. wp3solution says:
    2 years ago

    tnx

    Reply
  6. Dark Zeyrox says:
    2 years ago

    THANK YOU VERY MUCH…

    Reply
  7. Waqas Ahmad says:
    2 years ago

    Great effort

    Reply
  8. GestINFO Consultoría says:
    2 years ago

    I can't upload images webP … same msg error … help me please !!!

    Reply
  9. Chong Boon Keang says:
    2 years ago

    Hi, I try your way but the picture is not coming out. It just show an empty file logo without the picture

    Reply
  10. Christin Bela says:
    2 years ago

    WORKED 🙂 THANK YOU

    Reply
  11. Live Tuts says:
    2 years ago

    hi check my this issue tell me any solution this problem

    https://stackoverflow.com/questions/53844669/csv-file-not-uploading-on-wordpress/53844949?noredirect=1#comment94540441_53844949

    Reply
  12. DREAMWAVE says:
    2 years ago

    thanks dear, if it is dangerous what is the next job.

    Reply
  13. Amartuvshin Jugdernamjil says:
    2 years ago

    THANK YOU VERY MUCH…

    Reply
  14. 陈佳思 says:
    2 years ago

    music is good

    Reply
  15. Adetola Films says:
    2 years ago

    thank you. works for me

    Reply
  16. JimmyQY says:
    2 years ago

    Great. Thx for Video!!

    Reply
  17. munchichi8 says:
    2 years ago

    I don't know why WordPress is NOT making any effort to correct this!!!

    Reply
  18. Small Biz Geek says:
    2 years ago

    This solution is dangerous and creates a security vulnerability

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Sự thật ông Hoàng Bẩy là ai – Lễ cúng cầu tài cầu lộc ông Bẩy là thuốc ph/i/ệ/n

Sự thật ông Hoàng Bẩy là ai – Lễ cúng cầu tài cầu lộc ông Bẩy là thuốc ph/i/ệ/n

July 7, 2020
Đền Quan Hoàng Mười Nghệ An – Giới Thiệu Sơ Lược Lịch Sử

Đền Quan Hoàng Mười Nghệ An – Giới Thiệu Sơ Lược Lịch Sử

July 7, 2020
Top 5 món ngon nên ăn thử ở Hội An (Oops Banana)

Top 5 món ngon nên ăn thử ở Hội An (Oops Banana)

July 7, 2020
Hướng Dẫn Những Địa Điểm Phải Đến Ở Hội An Cho Người Đi Lần Đầu

Hướng Dẫn Những Địa Điểm Phải Đến Ở Hội An Cho Người Đi Lần Đầu

July 7, 2020
ĐẶC SẢN NGON NHƯNG KHÓ TÌM |Du lịch ẩm thực Huế #4

ĐẶC SẢN NGON NHƯNG KHÓ TÌM |Du lịch ẩm thực Huế #4

July 7, 2020
Những địa điểm du lịch đẹp nhất Huế 2019

Những địa điểm du lịch đẹp nhất Huế 2019

July 8, 2020
  • Chính Sách Bảo Mật
  • Liên Hệ

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Công Nghệ
  • Du Lịch
  • Ẩm Thực

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.