Document Module - Error

We have set the file permissions accordingly, But still when we create a document (Documents module) we are not able to download or view the document that was uploaded. we have checked different file types like .txt, .xls .pdf etc When we click on the file name we are getting a blank page.

Can someone please help on this.

Hi cloud,

What version of SuiteCRM are you using? is there anything in the error log?

We are using SUITE CRM Version 7.8.20 .

This is the error we are getting :

Call to undefined function mime_content_type() in /home/instancename/public_html/download.php on line 183