ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Upload vcf

November 01, 2010 8:57am

Subscribe [1]
  • #1 / Nov 01, 2010 8:57am

    Fireclave

    53 posts

    hi, i try to upload a ical or vcf file, but this is not working.

    I addad text/vcf in mimes.php and its not working.

    And i’m using the newest firefox for xp

  • #2 / Nov 01, 2010 2:42pm

    Fireclave

    53 posts

    Any ideas ?

  • #3 / Nov 02, 2010 6:15am

    Fireclave

    53 posts

    The mime type is text/x-vcard, but his is not working. should i do this entry place at the beginning or end ?

    (Error: Wrong Filetype)

    P.s.

    I’ve found this mime types

    ‘text/x-vcard’,
    ‘application/vcard’,
    ‘text/anytext’,
    ‘text/directory’,
    ‘application/x-versit’,
    ‘text/x-versit’,
    ‘text/x-vcalendar’

    Anyone a idea ?

  • #4 / Nov 02, 2010 8:04am

    Fireclave

    53 posts

    i have solve this problem by adding

    application/octet-stream

    in mimes.php

    and change in upload.php (library)
    the line 579 to

    if (in_array(str_replace(”\”“, ‘’, $this->file_type), $mime, TRUE))

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases