Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Upload DOC Fails Was Working V1.5 & V2.0

[FIXED] Upload DOC Fails Was Working V1.5 & V2.0 27 Sep 2012 15:18 #4097

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Earlier tonight
I downloaded new project after testing in sandbox
- tested upload .doc in sandbox
- Tested upload of a MS Word .doc in local install
- it worked validation passed, the .doc file was uploaded

Made a few cosmetic changes in the builder
uninstalled local component
downloaded again from cook

- started having issues with validation of the same file i uploaded without error earlier tonight

Downloaded component
Under Build V2.0 - MIME validation fails
under Build 1.5 - jqv:custom rule not found - file

Fails in sandbox as well

Thanks in advance
Last Edit: 30 Sep 2012 05:34 by BTB300.
The administrator has disabled public write access.

Re: [FIXED] Upload DOC Fails Was Working V1.5 & V2.0 03 Oct 2012 13:14 #4238

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Solved ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: [FIXED] Upload DOC Fails Was Working V1.5 & V2.0 03 Oct 2012 14:34 #4244

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
admin wrote:
Solved ?

Um Yes,
from memory i downloaded a few times that night each time MIME check failed...
downloaded again the next day and all was fine
don't know how or why?? (same project, same test upload file...)

Mysterious? - will try again just to be sure
Last Edit: 03 Oct 2012 14:35 by BTB300.
The administrator has disabled public write access.

Re: [FIXED] Upload DOC Fails Was Working V1.5 & V2.0 05 Oct 2012 12:04 #4276

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
BTB300 wrote:
admin wrote:
Solved ?

Um Yes,
from memory i downloaded a few times that night each time MIME check failed...
downloaded again the next day and all was fine
don't know how or why?? (same project, same test upload file...)

OK i have solved this one and I run for cover (as Admin is going to throw something at me)

The reason why it worked and then didn't work was that i uploaded to a different test server (oops!)
I checked the php.ini file on the other server and i found the following line was commented out (PHP Version 5.4.4)

All is good now :cheer:
extension=php_fileinfo.dll

For those having upload / MIME check issues please make sure the above line in your php.ini file is uncommented it can be found under dynamic extensions as shown below
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
...........................
..............................
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_fileinfo.dll  <= uncomment this line
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll

Have also posted details in the trouble shooting section for those having issues with MIME check...
Last Edit: 05 Oct 2012 12:07 by BTB300.
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started