Welcome, Guest
Username: Password: Remember me

TOPIC: [HOW TO] MIME CHECK FAILS - Downloaded Component

[HOW TO] MIME CHECK FAILS - Downloaded Component 05 Oct 2012 12:24 #4278

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
Hi there,
I have noticed several posts about file uploads failing the MIME check in the downloaded component but the file passes MIME check in the sandbox environment

After having a similar issue I checked the php.ini file and found the following line was commented out (PHP Version 5.4.4)
extension=php_fileinfo.dll

For those having upload / MIME check issues in the downloaded component please make sure the above line in your php.ini file is not commented out - it can be found under dynamic extensions as shown below

AND don't forget to restart your web server for the configuration changes to take effect!
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
...........................
..............................
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_fileinfo.dll  <= uncomment this line and restart your web server
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
Hope it helps someone save some time...
Last Edit: 14 Oct 2012 20:57 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, JoomGuy
Time to create page: 0.088 seconds

Get Started