📣 We're Hiring!

Error al clickar un documento subido

Hola he subido un documento (un word) y cuando le doy click para verlo me sale este error:
Fatal error: Uncaught Error: Call to undefined function mime_content_type() in F:\SuiteCRM\download.php:182 Stack trace: #0 F:\SuiteCRM\include\MVC\Controller\SugarController.php(1020): require_once() #1 F:\SuiteCRM\include\MVC\Controller\SugarController.php(468): SugarController->handleEntryPoint() #2 F:\SuiteCRM\include\MVC\Controller\SugarController.php(373): SugarController->process() #3 F:\SuiteCRM\include\MVC\SugarApplication.php(113): SugarController->execute() #4 F:\SuiteCRM\index.php(52): SugarApplication->execute() #5 {main} thrown in F:\SuiteCRM\download.php on line 182

Alguien sabe que puede ser.
en el download.php en la línea 182 es como que no encuentra el código relacionado al tipo de archivo
// Fix for issue 1506 and issue 1304 : IE11 and Microsoft Edge cannot display generic ‘application/octet-stream’ (which is defined as “arbitrary binary data” in RFC 2046).
$mime_type = mime_content_type($local_location);
if ($mime_type == null || $mime_type == ‘’) {
$mime_type = ‘application/octet-stream’;

Si alguien me puede ayudar se los agradezco.

See this

https://github.com/salesagility/SuiteCRM/issues/1863

Hi. Resolved!!

Deleted these lines

// Fix for issue 1506 and issue 1304 : IE11 and Microsoft Edge cannot display generic ‘application/octet-stream’ (which is defined as “arbitrary binary data” in RFC 2046).
$mime_type = mime_content_type($local_location);
if ($mime_type == null || $mime_type == ‘’) {
$mime_type = ‘application/octet-stream’;
}

and let this one

$mime_type = ‘application/octet-stream’;

now it’s working

Thanks