• Resolved Weegie Fifer

    (@kulaprabha)


    Hi
    I’ve just uploaded and started to use your plugin. I set up a test album on flickr and used the plugins instructions to create code which was

    [PHgallery type=’flickr’ user_id=’7976896@N08′ view=’galleries’ gallery_id=’72157696392835190′ media=’photos’ tag_mode=’any’ sort=’date-posted-desc’ layout=’strip-below’ caption=’title’ thumb_size=’s’ main_size=’z’ fx=’fade’ controls=’show’ timeout=’300′ speed=’3000′ ]

    I get this error message:
    There was an error connecting to . Please try again later.
    1 Message:
    cURL error 7:

    Be glad of any help you can give
    Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    A “cURL error 7” implies that your server is unable to establish a connection to Flickr. Generally there are 2-3 possible causes:

    1. A temporary glitch with the Flickr, in which case retrying after 30 minutes or so helps.
    2. 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.
    3. 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.
    Thread Starter Weegie Fifer

    (@kulaprabha)

    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?

    Plugin Author Sayontan Sinha

    (@sayontan)

    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.

    Thread Starter Weegie Fifer

    (@kulaprabha)

    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.

    Plugin Author Sayontan Sinha

    (@sayontan)

    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.

    Thread Starter Weegie Fifer

    (@kulaprabha)

    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”!

    Plugin Author Sayontan Sinha

    (@sayontan)

    You are welcome. I am marking this resolved.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘error when connecting to Flickr’ is closed to new replies.