Open mheidt opened 11 years ago
My FritzBox doesn't support photos, so it was never tested ;-) Regarding the vCard parser, it may be fixed in the newer upstream version, so you should test updating first. If it still fails, please report it in the vCard-Parser repo.
@mheidt Are there any news on this? This is my output when uploading profile pictures:
FTP-Upload: Lukas_Werner.jpg
PHP Warning: ftp_put() expects parameter 1 to be resource, boolean given in /home/fileshare/carddav2fb/carddav2fb.php on line 472
WARNING: an error occurred while uploading file Lukas_Werner.jpg - retrying
PHP Warning: ftp_login() expects parameter 1 to be resource, boolean given in /home/fileshare/carddav2fb/carddav2fb.php on line 477
PHP Warning: ftp_pasv() expects parameter 1 to be resource, boolean given in /home/fileshare/carddav2fb/carddav2fb.php on line 478
PHP Warning: ftp_put() expects parameter 1 to be resource, boolean given in /home/fileshare/carddav2fb/carddav2fb.php on line 479
ERROR: an error occurred while uploading file Lukas_Werner.jpg - giving up
Was this your problem which you fixed or is this - three years later - another issue?
Yes, I can't remember the actual error message. And my code is 3 years old. You don't seem to have the current version either. I would take the latest version and open a new issue.
Yeah, I just saw this main repos is not very active and there is a much newer fork. Thanks for your reply and never mind, I will check the new version. :)
The fotos of a contact are not taken into account so far. I fixed this by creating an image and storing it onto the FB. I had to create a symbolic link between the webserver running this script and the flashdisk of the FRITZ.NAS. If somebody is interested, I am willing to share.
There is a bug in the vCard parser, if the fotos are created with the OS X Addressbook.