Good day,

I have enabled all of the modules, including the cck aspect. I have updated my input formats. I have applied the API keys, and the user id, but I cannot get the images to appear. I get the following errors:

* Flickr error 1: Photoset not found
* Flickr error 1: Photo not found
* Flickr error 1: User not found

It looks like it is not providing any of the information that I give to the CCK field. The link that it provides on the node is blank:
http://flickr.com/photos//sets/

What am I doing wrong?

My thanks

Comments

juropel’s picture

Title: Flickr error 1 - Images not appearing » Flickr errors 1 & 3 - No accessible photos found for Flickr
StatusFileSize
new57.72 KB

Hello, I am getting a similar set of errors:

* Flickr error 3: Parameterless searches have been disabled. Please use flickr.photos.getRecent instead.
* warning: Invalid argument supplied for foreach() in /home/content/e/n/v/environmetal/html/sites/all/modules/flickr_attach/flickr_attach.module on line 238.
* Flickr error 1: User not found
* warning: Invalid argument supplied for foreach() in /home/content/e/n/v/environmetal/html/sites/all/modules/flickr_attach/flickr_attach.module on line 244.
* Flickr error 1: User not found
* warning: Invalid argument supplied for foreach() in /home/content/e/n/v/environmetal/html/sites/all/modules/flickr_attach/flickr_attach.module on line 384.

Please see the attached screenshot.

Thanks!

juropel’s picture

Status: Active » Needs review

Okay, so I got past this set of errors when I realized I had to add in the Flickr ID (not screen name) to the Flickr module settings in order for Flickr Attach to work (which it isn't quite…).

So for me this issue is fixed, but I cannot speak for the first poster.

Anonymous’s picture

Project: Flickr » Flickr Attach
Component: flickr_field » Code

It sounds as though this is a problem with flickr_attach , so updating the project choice for this
issue accordingly .

However i have bookmarked this issue in my browser and will have a look a little later to see if i
can help out.

Best,
Paul Booker
Appcoast

jbomb’s picture

Hello Paul:

Flickr Attach relies entirely on the flickr module for all flickr api transactions, but the issue is relevant to both modules.

I think this is a user input issue that is generally resolved by entering the proper Flickr Id in the flickr module settings. The issue and suggested solution are similarly described in #2, #375646: Errors after installation and enabling, and #251673: "Flickr error 2: Unknown user": please specify *what* user_id to input.

Users can easily retrieve their Flickr ID here.

aaronbauman’s picture

Category: support » bug
Priority: Normal » Minor
StatusFileSize
new4.5 KB

Changing this to a bug report, since flickr_attach should check its parameters before invoking a flickr request.

The root issue here probably relates to an administrator not configuring flickr settings properly.
The symptom reported by the OP is an error generated by flickr api when flickr_attach makes an invalid flickr request.
Downgrading to minor since this doesn't affect functionality.

This patch makes sufficient checks to ensure that a flickr user id has been entered before making any such requests, as well as other various checks to avoid invoking invalid flickr requests (paramaterless searches, set requests with no set id, foreach loops on non-arrays, etc.).

gwilym.eades’s picture

I'm hoping this helps me out too, but I'm not exactly sure what to do with the patch file. Do I put it in the module folder?

aaronbauman’s picture

Until this patch is applied to a release, you should apply it manually.
http://drupal.org/patch/apply

Please keep in mind, however, that the patch merely hides this error message, the symptom. It does not address the root issue, that your credentials are wrong, or you have no accessible photos.

gwilym.eades’s picture

Thanks, I figured out how to apply patches using NetBeans. But Flickr is not working, despite having the creds and the photos in sets!

jbomb’s picture

@gwilym.eades

Did you use the id utility referenced in #4?

tiyberius’s picture

I'm having the EXACT same problem as nellsworth, I installed the "Flickr Attach" module, triple checked my API Key, Secret, and used the "idGettr" to get my ID. The error messages ("Photoset not found" and "User not found") only shows up when I'm logged in. I could ignore the error, but NO PHOTOS show up when I create a node with a "flickr field" set to "photo set". I'm running PHP 5.2, Drupal 6.16. Any help would be MASSIVELY appreciated!

aaronbauman’s picture

Do you have any public flickr photos at flickr.com?

tiyberius’s picture

Figured out that I had to make my photos "public" on flickr.com. Duh!

patrickroma’s picture

doesn't work also for me :-(

aaronbauman’s picture

Title: Flickr errors 1 & 3 - No accessible photos found for Flickr » Check parameters before issuing flickr API requests; do not submit parameterless or invalid requests
Status: Needs review » Fixed

The original issue here was addressed in #5.
Updating the title to reflect the issue.

If you are experiencing these issues, please review the documentation at http://drupal.org/node/849674 before submitting a new issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.