Skip to content


Known Bug: buildPhotoURL()

There is a bug in the buildPhotoURL method. I've already fixed it for the next update. If you want to use this method, here's the simple fix:

Change Line 182 in phpFlickr.php from:
$url = "http://photos" . $photo['server_id'] . ".flickr.com/" . $photo['photo_id'] . "_" . $photo['secret'];
To:
$url = "http://photos" . $photo['server'] . ".flickr.com/" . $photo['id'] . "_" . $photo['secret'];

Posted in Bug Fixes.


3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Alx says

    Hi phpFlickr grand-master,

    There is a bug in your readme file that block me for several minutes: in first point, you tell user to be sure to have HTTP_Response package installed from PEAR.

    But this package does'nt exist, I wandered in your phpFlickr.php and saw it was HTTP_Request that is required.

    Nothing too hard, but could be a great challenge for newbies.

    Alx

  2. Mike Peck says

    Ahh! That helps things! Now I'm still having trouble getting the photos_search to work. It keeps returning error code #3. I just want to pass in a user_id and tag, what is the format for the arguments if that is the case?

    Thanks for making it easy for the rest of us!

  3. Dan says

    The bug in this post and the typos in the README.txt file have been corrected in the latest update (version 1.2.1). I also addressed the photos_search() question.



Some HTML is OK

or, reply to this post via trackback.