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

TOPIC:

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
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

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

Last edit: by BTB300.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Solved ?
Coding is now a piece of cake

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

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132

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

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

Last edit: by BTB300.

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132

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...

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

Last edit: by BTB300.
  • Page:
  • 1
Time to create page: 0.087 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started