A “cURL error 7” implies that your server is unable to establish a connection to Flickr. Generally there are 2-3 possible causes:
- A temporary glitch with the Flickr, in which case retrying after 30 minutes or so helps.
- Making too many requests to Flickr within a short amount of time (e.g. 100 requests in 5 minutes). In this case too retrying after 30 minutes or so helps.
- A firewall or security configuration on your host that is blocking cURL requests. This is a likely culprit, and if the above two points don’t resolve it for you, you might want to reach out to your hosting provider.
Hi
Thanks for your very prompt reply. I contacted my hosting provider who said yes, it looks like the site i’m trying to connect is being blocked by outgoing connections filter. I turned the filter off and immediately the cURL error message stopped appearing. However I’m still not getting any photos appearing, only a blank space. Link to that post is:
http://paleblueplanet.net/?p=3970
I’ve tried your other suggestions about possible flickr glitch etc but nothing changes.
any other suggestions?
The first thing to verify is whether you actually have galleries or photosets (a.k.a. albums). Your shortcode is set to pull galleries, however a very small percentage of people use galleries. Most people have albums.
Hi
Again thanks for you input.
I’ve now altered the shortcode. And I’ve included two shortcodes on the page. One is for just one photo. One is for an album. As follows:
[PHgallery type=’flickr’ user_id=’7976896@N08′ view=’photosets’ photoset_id=’72157696392835190′ media=’photos’ tag_mode=’any’ sort=’date-posted-desc’ layout=’strip-below’ caption=’title’ thumb_size=’s’ main_size=’z’ ]
[PHgallery type=’flickr’ user_id=’7976896@N08′ view=’photos’ photo_id=’36561177351′ media=’photos’ tag_mode=’any’ sort=’date-posted-desc’ layout=’square’ caption=’title’ thumb_size=’s’ main_size=’z’ ]
I’m still just getting a blank page with no photos pulled. I’ve waited an hour or so and tried again but still just blank.
Are you sure the album is not private? I don’t see it when I go here: https://www.flickr.com/photos/7976896@N08/sets/72157696392835190. I also don’t see it here when I put in your user_id: https://www.flickr.com/services/api/explore/flickr.photosets.getList.
BTW, you don’t need to wait for an hour before retrying if you are not getting a cURL error. Even with a cURL error you don’t need to wait that long. You can try your luck after as early as 5 minutes.
Hi
You were right, the photos were private. I changed the permissions on Flickr and immediately I can see a very nice slideshow layout. I’ve tried a few of the other options in the plugin and it’s all OK.
Thanks for your help. I’m very happy to “buy you a coffee”!
You are welcome. I am marking this resolved.