Title: Attachments Problem
Last modified: October 22, 2019

---

# Attachments Problem

 *  [Kalusha](https://wordpress.org/support/users/kalusha/)
 * (@kalusha)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/attachments-problem-2/)
 * Hey, first… Great Plugin.
 * I have added this code into my functions
    function my_upload_mimes() { $mime_types
   = array( ‘dxf’ => ‘application/dxf’, ‘dwg’ => ‘application/acad’, ‘zip’ => ‘application/
   zip’, ‘rar’ => ‘application/rar’, ‘ai’ => ‘application/ai’, ‘geo’ => ‘application/
   geo’, ‘pdf’ => ‘application/pdf’, ‘jpg’ => ‘image/jpeg’, ‘jpeg’ => ‘image/jpeg’,‘
   png’ => ‘image/png’, ‘gif’ => ‘image/gif’, ‘bmp’ => ‘image/bmp’, ‘tif’ => ‘image/
   tiff’, ); return $mime_types; } add_filter( ‘upload_mimes’, ‘my_upload_mimes’);
 * Now the Problem:
    The Admin can send every file, also for example .dxf Any other
   User can not send this Files. Then comes no message or else, only the File is
   not attached. I have try to every Plugins disable but nothing helps. The mistake
   must in the Plugin Front End.
 * Can you help me please?
 * Thanks a lot.

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

 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/attachments-problem-2/#post-12054833)
 * Which version of WordPress you are using? Can user upload that file in media 
   library in wp admin?
 * If `define('ALLOW_UNFILTERED_UPLOADS', true);` is added to wp-config.php, does
   it works?
 *  Thread Starter [Kalusha](https://wordpress.org/support/users/kalusha/)
 * (@kalusha)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/attachments-problem-2/#post-12057410)
 * Hey,
    thanks for the Quick Answer. 🙂
 * I have this WordPress Vers. 5.2.4–de_DE and all Plugins are Updated.
    I have 
   added the Code above but it doesn´t help.
 * How can I check that User can Upload Files in the media Database. I think they
   can not upload Files like .dxf

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

The topic ‘Attachments Problem’ is closed to new replies.

 * ![](https://ps.w.org/front-end-pm/assets/icon-256x256.gif?rev=2309447)
 * [Front End PM](https://wordpress.org/plugins/front-end-pm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-pm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-pm/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-pm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-pm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-pm/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Kalusha](https://wordpress.org/support/users/kalusha/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/attachments-problem-2/#post-12057410)
 * Status: not resolved