Menu

#4 Error uploading VCF

open
None
4
2004-08-23
2004-08-19
billk2
No

I tried uploading VCF and got the messages:

WARNING: value 'GIF' not allowed for type 'TYPE',
property 'PHOTO'
WARNING: value 'BASE64' not allowed for
type 'ENCODING', property 'PHOTO'

Warning: Cannot modify header information - headers
already sent by (output started at /var/www/ct-
demo/lib/property.php:180) in /var/www/ct-
demo/uploadvcard.php on line 74

I had to use browser back button to view uploaded info.
Details seemed to be entered correctly, except for
broken Photo and random Birthday.

The file was created on my Sony Ericsson P800 mobile
phone.

Discussion

  • billk2

    billk2 - 2004-08-19
     
  • Cody Smith

    Cody Smith - 2004-08-23

    Logged In: YES
    user_id=1024161

    Bill: first of all, thank you for your bug.

    So the vCard specification prohibits setting TYPE=GIF or
    ENCODING=BASE64, so the error is technically correct.
    However, there is a built-in way to add workarounds for
    these problems, called quirks. So I can fix this problem in
    the next release that way.

    Also, the birthday in your vCard seems to be incorrectly
    formatted, but it should be easy to add support for YYYYMMDD
    instead of YYYY-MM-DD.

    How did you get this vCard? Was it created by a Windows
    Address Book? An address book in your phone?

     
  • Cody Smith

    Cody Smith - 2004-08-23
    • priority: 5 --> 4
    • assigned_to: nobody --> codysmith
     

Log in to post a comment.