Closed (fixed)
Project:
Flickr
Version:
6.x-1.0-beta3
Component:
flickr (main module)
Priority:
Critical
Category:
Bug report
Reporter:
Created:
26 Apr 2008 at 23:00 UTC
Updated:
3 Mar 2009 at 16:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Zorrin commentedI'm having the same problem. Anyone know of a solution for this? Your help would be much appreciated.
Comment #2
shaeman commentedSame error here. Any help?
Comment #3
gettysburger commentedI'm getting the same thing:
* Flickr error 2: Unknown user
* warning: strtr() [function.strtr]: The second argument is not an array. in /nfs/c01/h04/mnt/36064/domains/otreilly.virtualantietam.com/html/modules/syslog/syslog.module on line 108.
Any thoughts? Thanks.
Comment #4
d.paleino commentedHi,
I can reproduce this also with 6.x-1.x-dev (2008-Apr-03). I'm also rasing its priority, since the module is not usable at all at the moment.
David
Comment #5
jfuzzy commentedOn the blocks page, in the field that asks for user ID you should be entering the ID that is on your Flickr Api Explorer page. I found mine on this page: http://www.flickr.com/services/api/explore/?method=flickr.photos.getAllC...
There is a region on the right side of the screen that says "useful values", one of these is the user ID. Mine had numbers and a single symbol, not my flickr screen name, or what is at the end of the URL on my flickr site. Good luck.
Comment #6
woogychuck commentedWe're having a similar issue with our site. I've tried the YahooID, Flickr Username and the Flickr user_id and all result in the Flickr Error 2: Unknown user. In addition, we have the following warning displayed at the top of the page:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of system_settings_form_submit(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.pester/sunderme/grace.sundermedia.com/modules/flickr/flickr.admin.inc on line 87
I'm unfortunately on a shared host and can't edit the ini file. In addition, attempting to set the value using ini_set() just before the function call, but that didn't seem to help. Hopefully this provides some insight into what is causing the bug.
Comment #7
d.paleino commentedThe solution posted by mcqueenj works great! Thanks :)
Changing bug details to fit what should be done IMHO: specify *what* user_id the module wants.
David
Comment #8
irishgringo commentedwell, I still have the same problem... I found the userID as mcqeen says to do, I have treid several API keys with secret keys, and I am getting the exact same issue.
this is just killing me. I am wondering if it communicated on somekind of blocked prot or something as I am testing this on a shared host.
I think I will give up today... becuase I still have to make it work with lightbox
is anyone else having trouble with this?
Comment #9
bebouze commentedok, I have the same issue. I tried all the user ID variations (including the one mcqueenj mentionned) and get the unknown user red flag.
Comment #10
nonon commentedHi, I'm also experiencing the same sort of error. some small diffs, my is error 1 and not 2. User not found.
Check my error message:
* Flickr error 1: User not found
* warning: strtr() [function.strtr]: The second argument is not an array in /home/nunorodr/public_html/modules/syslog/syslog.module on line 108.
* Flickr error 1: User not found
* warning: strtr() [function.strtr]: The second argument is not an array in /home/nunorodr/public_html/modules/syslog/syslog.module on line 108.
I also tried all usernames possible.
Comment #11
nonon commentedHi, I'm also experiencing the same sort of error. some small diffs, my is error 1 and not 2. User not found.
Check my error message:
* Flickr error 1: User not found
* warning: strtr() [function.strtr]: The second argument is not an array in /home/nunorodr/public_html/modules/syslog/syslog.module on line 108.
* Flickr error 1: User not found
* warning: strtr() [function.strtr]: The second argument is not an array in /home/nunorodr/public_html/modules/syslog/syslog.module on line 108.
I also tried all usernames possible.
Comment #12
Scoutmaster commentedI have been having both errors sometimes at the same time depending on what block I use and if I use Flickr user page photosets I get no error but the photos do not show. I have used all the ID's including the one generated by flickr and still can not get aything to work.
I was not sure what callback url should be so I used http://auburnscouts.org/public_html/node/11 this is my photo page and I set the block to content. What is a correct URL for the whole sight for the blocks? I want to add photos on the top of pages and such as well as have a photo gallery but not sure my Call back url is right and even with the one I am using I get the errors above.
I also went to the page in flicker that shows the calls made to flickr and it shows that my calls are comming in.
I am a Drupil noob and have not been able to add any modules and not have problems, I was told there is a steep learning curve but dang.
Comment #13
Anonymous (not verified) commentedThere are two errors here
Flickr Error 1:
Too many tags in ALL query
When performing an 'all tags' search, you may not specify more than 20 tags to join together.
Flickr Error 2:
Unknown user
A user_id was passed which did not match a valid flickr user.
user_id (Optional)
The NSID of the user who's photo to search. If this parameter isn't passed then everybody's public photos will be searched. A value of "me" will search against the calling user's photos for authenticated calls.
Information taken from http://www.flickr.com/services/api/flickr.photos.search.html
So what we need to do is ensure that the flickr user name is converted into its NSID and that it is the NSID that is sent with the API request to flickr.com. I'll fix this today .
Comment #14
Anonymous (not verified) commentedPlease patch and provide feedback , thanks.
Comment #15
Anonymous (not verified) commentedComment #16
hyunkeln commentedI got the patches working, but now i have a different problem... the random flickr image block works... but it doesn't show my photos but other users´photos....
Comment #17
hyunkeln commentedI got another problem... as a field, hoy can I insert an image but without the
<p></p>tags... or with this tags customed. I mean, when I insert an image field by default, it's inserted with<p></p>tags... how can I aviod them?Comment #18
Anonymous (not verified) commentedComment #19
Anonymous (not verified) commentedSorry , that patch should have been ..
I'll get that committed to the development branch later today
Comment #20
Freso commentedSince this issue was marked a duplicate of #212000: Flickr error 1: User not found, I'm going to re-open this one.
I just updated to 6.x-1.0-beta3 which should apparently have the fix for this. Using "freso" still gives me the same result as described in #212000: Flickr error 1: User not found, namely:
So, apparently you still have to use the system's user_id, while the field's description still suggests you can use .
Comment #21
Anonymous (not verified) commentedTaking a look at this bug report tomorrow
Comment #22
Anonymous (not verified) commentedFixed.
I'll get this committed to the development branch and put out a further beta.
Comment #23
Anonymous (not verified) commented