The Elearning Community • STEP 2: mime_content_type() support: OFF
Page 1 of 1

STEP 2: mime_content_type() support: OFF

Posted: Thu Oct 04, 2012 2:01 am
by milcito
I have a trouble instaling DOCEBO. I can´t go to the step 3 cause appear: "mime_content_type() support: OFF". Maybe, some of you have already fix this. Please, could you help me?

Re: STEP 2: mime_content_type() support: OFF

Posted: Thu Oct 04, 2012 9:37 am
by alberto
Hi milcito, welcome onboard! :)
For docebo to work properly the "mime_content_type" support on your server should be enabled, just ask you IT or your provider to do this (they will need to do a simple edit in php.ini).
This is the best solution, but just in case you are on a shared hosting and for some reason you provider doesn't allow this configuration you can add this code at the end of the file /lib/lib.docebo.php

Code: Select all

if (!function_exists('mime_content_type')) {
function mime_content_type($filename) {
return 'application/octet-stream';
}
} 
Let us know if everithing works fine! :)

Re: STEP 2: mime_content_type() support: OFF

Posted: Thu Oct 04, 2012 7:19 pm
by milcito
Thanks Alberto.
Actually, I am installing DOCEBO in my laptop. First, I have installed AppServ. so I think I can enable my phpMyAdmin for support mime_content_type if you help me. Otherwise, I have try adding your code to the file c:/AppServ/www/lib/lib.docebo.php but it´s the same. Maybe I did something wrong.

Re: STEP 2: mime_content_type() support: OFF

Posted: Thu Oct 04, 2012 10:00 pm
by alberto
Hi, you don't need to modify the phpMyAdmin but the php.ini file in the apache install folder with a text editor

Code: Select all

     ;extension=php_fileinfo.dll 
removing the initial ";"

Code: Select all

     
extension=php_fileinfo.dll 
then restart apache service (or restart easyphp / xampp or your application)

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.