WordPress.org

Support

Support » Plugins and Hacks » Risal Download » [Plugin: Risal Download] Fatal error: Call to undefined function mime_content_type()

[Plugin: Risal Download] Fatal error: Call to undefined function mime_content_type()

  • Hi there,
    Thanks for this plugin, I hope to be able to use it!

    When I put in the Server’s File Name and Server’s File Path (or even not), and click the Browse button I get this error:
    Fatal error: Call to undefined function mime_content_type() in /domainname.com/wp-content/plugins/wp-risal-download/risal-download.php on line 130

    which is this:
    echo "<td>".filesize($drtry)."</td><td>".mime_content_type($drtry)."</td></tr>";

    I want to be able to allow my authors to upload and feature files to download in a user-friendly way, but most of them are not tech-savvy enough to know the way to fill this out.

    But what is this error? I know my authors can browse to the file, but not if there is error.. :/

    Can we fix this somehow?

    http://wordpress.org/extend/plugins/wp-risal-download/

Viewing 1 replies (of 1 total)
  • Plugin Author Risal Affendie

    @risal-affendie

    Hi, Seems like your php’s server not support build-in function mime_content_type(). Try to fix this by installing it OR modifying file php.ini (search line mime_magic.magicfile).

    Regards,
    Risal

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Risal Download] Fatal error: Call to undefined function mime_content_type()’ is closed to new replies.
Skip to toolbar