carddav2fb icon indicating copy to clipboard operation
carddav2fb copied to clipboard

Fotos are not transfered

Open mheidt opened this issue 11 years ago • 4 comments

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.

mheidt avatar Apr 15 '13 22:04 mheidt

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.

carlos22 avatar Apr 29 '13 11:04 carlos22

@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?

Fensterbank avatar Jun 14 '16 20:06 Fensterbank

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.

mheidt avatar Jun 14 '16 21:06 mheidt

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

Fensterbank avatar Jun 14 '16 21:06 Fensterbank