title: responsivefilemanager9 internal server error
body: <p>I installed responsive filemanager 9 from <a href="https://www.responsivefilemanager.com/index.php#documentation-section" rel="nofollow noreferrer">here</a> into my local tinymce 4.</p>
  
  <p>My tinymce config looks like this:</p>
  
  <pre><code>&lt;script&gt;
  tinymce.init({
    selector: 'textarea',
    height: 500,
    theme: 'modern',
    plugins: 'print preview fullpage searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern help',
    toolbar1: 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify  | numlist bullist outdent indent  | removeformat | responsivefilemanager',
    image_advtab: true,
    language: 'de',
  
    external_filemanager_path:"http://XXXX/info/upload/filemanager/",
    filemanager_title:"BSW Infoterminal Dateimanager" ,
    external_plugins: { "filemanager" : "http://XXXX/info/upload/filemanager/plugin.min.js"},
  
    templates: [
      { title: 'Test template 1', content: 'Test 1' },
      { title: 'Test template 2', content: 'Test 2' }
    ],
    content_css: [
      '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
      '//www.tinymce.com/css/codepen.min.css'
    ]  
   });
   &lt;/script&gt;
  </code></pre>
  
  <p>I can upload images over responsivefilemanager9, but i always get a Error <code>Internal Server Error</code> in frontend from RFM9. In the overview from uploaded files is no file shown.</p>
  
  <p>In logs i see the following errors:</p>
  
  <pre><code>[14-Sep-2018 12:31:59 Europe/Rome] PHP Fatal error:  Uncaught Error: Call to undefined function mime_content_type() in C:\inetpub\wwwroot\info\upload\filemanager\include\php_image_magician.php:2723
  Stack trace:
  #0 C:\inetpub\wwwroot\info\upload\filemanager\include\php_image_magician.php(230): imageLib-&gt;openImage('../source/ich.j...')
  #1 C:\inetpub\wwwroot\info\upload\filemanager\include\utils.php(403): imageLib-&gt;__construct('../source/ich.j...')
  #2 C:\inetpub\wwwroot\info\upload\filemanager\UploadHandler.php(1436): create_img('../source/ich.j...', '../thumbs/ich.j...', 122, 91)
  #3 C:\inetpub\wwwroot\info\upload\filemanager\UploadHandler.php(1387): UploadHandler-&gt;onUploadEnd(Array)
  #4 C:\inetpub\wwwroot\info\upload\filemanager\UploadHandler.php(187): UploadHandler-&gt;post(false)
  #5 C:\inetpub\wwwroot\info\upload\filemanager\UploadHandler.php(171): UploadHandler-&gt;initialize()
  #6 C:\inetpub\wwwroot\info\upload\filemanager\upload.php(167): UploadHandler-&gt;__construct(Array, true, Array)
  #7 {main}
    thrown in C:\inetpub\wwwroot\info\upload\filemanager\include\php_image_magician.php on line 2723
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FpDCI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FpDCI.png" alt="Upload Error"></a></p>
  
  <p><a href="https://i.stack.imgur.com/9d1Bd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9d1Bd.png" alt="Directory Error"></a></p>