Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
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...
The following user(s) said Thank You: admin, JoomGuy

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.095 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started