Title: Problem downloading attachment
Last modified: July 14, 2021

---

# Problem downloading attachment

 *  Resolved [cpimentelpz](https://wordpress.org/support/users/cpimentelpz/)
 * (@cpimentelpz)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-downloading-attachment/)
 * Hi:
 * when I try to download a file attached to the ticket the plugin from the frontend
   throws the following error:
 * Fatal error: Uncaught Error: Call to undefined function mime_content_type() in/
   home/ptgcl/public_html/wp-content/plugins/supportcandy/includes/class-wpsc-actions.
   php:561
    Stack trace: #0 /home/ptgcl/public_html/wp-content/plugins/supportcandy/
   includes/class-wpsc-actions.php(493): WPSC_Actions->file_download(297) #1 /home/
   ptgcl/public_html/wp-includes/class-wp-hook.php(292): WPSC_Actions->check_download_file(”)#
   2 /home/ptgcl/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(
   NULL, Array) #3 /home/ptgcl/public_html/wp-includes/plugin.php(484): WP_Hook-
   >do_action(Array) #4 /home/ptgcl/public_html/wp-settings.php(423): do_action(‘
   plugins_loaded’) #5 /home/ptgcl/public_html/wp-config.php(91): require_once(‘/
   home/ptgcl/pub…’) #6 /home/ptgcl/public_html/wp-load.php(37): require_once(‘/
   home/ptgcl/pub…’) #7 /home/ptgcl/public_html/wp-blog-header.php(13): require_once(‘/
   home/ptgcl/pub…’) #8 /home/ptgcl/public_html/index.php(17): require(‘/home/ptgcl/
   pub…’) #9 {main} thrown in /home/ptgcl/public_html/wp-content/plugins/supportcandy/
   includes/class-wpsc-actions.php on line 561
 * What should I do to download files attached to the ticket?
    Thanks for your disposal!

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

 *  Plugin Contributor [Nikhil G](https://wordpress.org/support/users/nsgawli/)
 * (@nsgawli)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-downloading-attachment/#post-14662741)
 * Hello,
 * Please enable fileinfo extension for PHP on your server and then recheck the 
   issue. Please go to your cPanel and enable it. Otherwise, please contact your
   hosting provider and ask them to enable it for you.
 *  Thread Starter [cpimentelpz](https://wordpress.org/support/users/cpimentelpz/)
 * (@cpimentelpz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/problem-downloading-attachment/#post-14665645)
 * You deserve the **best**. Thank you!

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

The topic ‘Problem downloading attachment’ is closed to new replies.

 * ![](https://ps.w.org/supportcandy/assets/icon.svg?rev=2763565)
 * [SupportCandy - Helpdesk & Customer Support Ticket System](https://wordpress.org/plugins/supportcandy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/supportcandy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/supportcandy/)
 * [Active Topics](https://wordpress.org/support/plugin/supportcandy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/supportcandy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/supportcandy/reviews/)

## Tags

 * [attached](https://wordpress.org/support/topic-tag/attached/)
 * [attached file](https://wordpress.org/support/topic-tag/attached-file/)
 * [download](https://wordpress.org/support/topic-tag/download/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [ticket](https://wordpress.org/support/topic-tag/ticket/)

 * 2 replies
 * 2 participants
 * Last reply from: [cpimentelpz](https://wordpress.org/support/users/cpimentelpz/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/problem-downloading-attachment/#post-14665645)
 * Status: resolved