Situation
When trying to upload document or id image (.jpg), this error occurs:
Fatal error : Uncaught Error: Call to undefined function mime_content_type() in /home/ccfsecur/public_html/eedenglen/openemr/library/sanitize.inc.php:105 Stack trace: #0 /home/ccfsecur/public_html/eedenglen/openemr/controllers/C_Document.class.php(156): isWhiteFile(’/tmp/phpwBK1hK’) #1 /home/ccfsecur/public_html/eedenglen/openemr/library/classes/Controller.class.php(128): C_Document->upload_action_process(‘43’, ‘5’) #2 /home/ccfsecur/public_html/eedenglen/openemr/controller.php(5): Controller->act(Array) #3 {main} thrown in /home/ccfsecur/public_html/eedenglen/openemr/library/sanitize.inc.php on line 105
OpenEMR Version
I’m using OpenEMR version 5.0.2
Browser:
I’m using: Mozilla Firefox
Operating System
I’m using: Linux
Logs
Did you check the logs? Was there anything pertinent in them? Nothing pertinent