$ finfo = finfo_ open( FILEINFO_ MIME_ TYPE) ;. DEPRECATED] Call to undefined function mime_ content_ type( ) # 57. KinG- InFeT opened this Issue on Sep 10, · 2 comments. the mime_ content_ type( ) is deprecated and not work script with this error. $ finfo = finfo_ open( FILEINFO_ MIME_ TYPE) ; $ file = finfo_ file( $ finfo, $ file) ; finfo_ close( $ finfo) ;. On any web site if you are getting error message " Call to undefined function finfo_ open" then it is related to php extension fileinfo. For those have had it working fine, but then this error appears: Some hosting providers ( e. , Dreamhost) allow customers to override default. when i try to submit my file i get error > Fatal error: Call to undefined function. $ finfo = finfo_ open( FILEINFO_ MIME_ TYPE) ; ; if( strpos( finfo_ file( $ finfo,. I get this error( see fig. 2) : " Fatal error: Call to undefined function mime_ content_ type( ) in Closed. jagc opened this Issue on Jan 7, · 10 comments.
" Fatal error: Class ' finfo' not found in. Fatal error: Call to undefined function mime_ content_ type( ). miał zainstalowane rozszerzenie PECL, mógłbym użyć zalecaną zewsząd konstrukcję finfo. Fatal error: Call to undefined function mime_ content_ type( ) in / home/. net/ manual/ en/ function. mime- content- type. Looks like I' ll need to. public finfo: : _ _ construct ( [ int $ options = FILEINFO_ NONE [, string $ magic_ file = NULL ] ] ). This function opens a magic database and returns its resource. I had this same issue with PHP on IIS. Make sure that the fileinfo. so or php_ fileinfo. dll is enabled in the php. ini like so, that depends on your platform and version.