Known Bug: buildPhotoURL()

Posted on Thursday 23 June 2005

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'];


3 Comments for 'Known Bug: buildPhotoURL()'

  1.  
    Alx
    June 30, 2005 | 8:23 am
     
    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.  
    June 30, 2005 | 12:47 pm
     
    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
    June 30, 2005 | 3:55 pm
     
    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.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI