Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fotos are not transfered #2

Open
mheidt opened this issue Apr 15, 2013 · 4 comments
Open

Fotos are not transfered #2

mheidt opened this issue Apr 15, 2013 · 4 comments

Comments

@mheidt
Copy link

mheidt commented Apr 15, 2013

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.

@carlos22
Copy link
Owner

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 pushed a commit that referenced this issue Oct 28, 2015
Update carddav2fb.php to retry a connection in case on a first try the connection didn't work.
@Fensterbank
Copy link
Contributor

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

@mheidt
Copy link
Author

mheidt commented Jun 14, 2016

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.

@Fensterbank
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants