Posted by rockgeek on May 4, 2007 at 10:00am
Jump to:
| Project: | Flickr |
| Version: | 5.x-1.0 |
| Component: | flickr (main module) |
| Category: | support request |
| Priority: | normal |
| Assigned: | paulbooker |
| Status: | closed (fixed) |
Issue Summary
http://www.strictlyreading.co.uk/ enabled everything and yet nothing is showing.
Some documentation would be useful.
Comments
#1
I can't getything in the blocks to work and I have enetred all the info in "admin/settings/flickr"
#2
I have the same problem, fresh install of Drupal 5.1 + Flickr module. Completed the settings. Added the blocks to the sidebar, only none of the blocks show. Even the titles for the blocks do not appear.
#3
Looking at http://www.strictlyreading.co.uk/flickr it's clear that the basic module functionality is working. How have you configured the individual blocks? Do they still fail to show up if you move them to a different part of the page? Does switching themes change the behaviour?
#4
I am having a similar issue on a local instance. None of my blocks show up, even though I have entered configuration info for all of them. I'm not getting any images showing, however, when I go to myurl/flickr. Switching themes has no effect on the block visibility.
#5
I'm still stuck ... I have tried using the latest version of Drupal 5.1 on Debian Etch and Fedora Core 6 with PHP4 and PHP 5 using apache2. I have tried using both the official and the dev release of the flickr module with no luck. phpFlickr from phpflickr.com is however working fine for me.
I am wondering if the issue has to do with getting the key set up properly. I have tried Many times, with a couple of different keys, and get the same results.
When I first fill out "admin/settings/flickr", the "Default Flickr User Id:" is uneditable. I fill in the API key and Shared secret, via copy and past, verify, and then save. When i do this I get a ""Flickr error 100: Invalid API Key (Key not found)"
I verify again, confirm that both values are correct, and hit save again, and I get a "Flickr error 1: User not found"
So I fill in my flickr user name for the default, hit save, and then get the green message "The configuration options have been saved."
It worries me that it gives the error the first time. But the key is correct. I use it with phpFlickr,
Any help would be greatly appreciated...
#6
Thought that I should also not that the Flickr filter does work. It's just the blocks that don't appear.
#7
oh yes, and my flickr page is just empty.
http://jp.ci-fi.net/flickr
#8
Ok, if you have been updating the API keys, and you get empty pages on site.url/flickr, then you might be suffering from problems associated with the fact the the flickr module caches the requests and keeps hold of them for a good while. Try switching the cache time to a lower setting, and editing a node to encourage the cache to flush (note that this has been simplified in another recent issue/patch).
As for the blocks, please be very clear as to which blocks you are enabling. There are site-wide and user blocks (e.g. 'Flickr recent photosets' v. 'Flickr user page photosets'). Only the site-wide ones will display useful results based on the user id you put in admin/settings/flickr. The other blocks will show nothing until the user edits their own flickr id.
Again, please be very explicit about exactly which options, blocks and pages you are trying to use, and the options you have configured for them. Flickr is a complex module, and I am not one of it's main developers, but I am willing to help - although you might have to be patient with me.
Thanks.
Andy J.
#9
On my end, none of the blocks are working, no matter whose user ID I put in anywhere. It's not that they're showing the block title and there's no content. It's just that they're not loading at all. Template changes don't seem to make a difference.
#10
There are two stages to solving this problem.
First, are there any problems or bugs in getting the content from flickr and into your site? Looking at the basic flickr pages will address this problem. Do you have any flickr content at all? At 'your.site/flickr' or, for example, at 'your.site/flickr/1'?
A good way to test this is to edit the admin user profile, and give that user a completely new Flickr ID (this will avoid caching effects). Then, go to your.site/flickr/1 and see if it successfully fetches and displays the new sets.
Once we are sure we are grabbing the data ok, we can try to address why the blocks are not showing up.
You can also try changing a node to force the Flickr API call cache to update.
Of course, none of this can possibly work if the server you are running Drupal on cannot access the internet. e.g. behind a opaque proxy.
Hope that helps,
Andy J.
#11
To clarify, by 'a completely new Flickr user ID' i mean just choose a random ID of a user who has a few photos in sets, but a user ID you have not used before.
Andy J.
#12
jparp: i see by going to http://jp.ci-fi.net/flickr/1 that there is not a valid user configured for user 1. Why don't we test that first. Go to the my account page for user 1 and enter your email address that you used to sign up for flickr in the "flickr identifier" field. If that works, then make sure you have the default flickr nsid field filled out at admin/settings/flickr. You can get this info from the flickr api page on flickr.com. Once this is filled out you should see your photos at /flickr.
prattboy: Which blocks are you using? Some of them only show up on user pages.
andy j: thanks for helping out on the queue :)
#13
Alrighty.... I'm getting images okay when I go to mysite/flickr/1
I cannot get any of the blocks to display, however. That includes:
Flickr user page recent photos
Flickr recent photosets
Flickr user page photosets
Flickr recent photos
Flickr user page random photos
#14
prattboy:
Blocks that are called "Flickr user page _______" only show up on the user's page. So in your case, example.com/user/1 .
The other blocks require that a default flickr user id be set at example.com/admin/settings/flickr . Try putting your NSID in that field. You can find that at http://www.flickr.com/services/api/explore/?method=flickr.activity.userC... when you are logged in.
#15
Well, that seems to work! Thanks, all, for all your help.
The ID I had in before wasn't pulling any pictures so I switched ID's. Is it possible that the username I had in before has a stricter copyright settings on their photos which disallowed me from pulling in their feeds?
#16
prattyboy: Would you mind sharing the ID you were using before? Or at least the type of ID (username/email/NSID)?
#17
I entered in a username that was in turn converted into a NSID.
#18
thanks for the tip Andrew. I didn't think to check my user profile page.
unfortunately
http://jp.ci-fi.net/flickr/1
is still coming up empty.
If it helps at all, the NSID is 72199926@N00 , (I just maid the account to test out the functionality, and there is only 4 pictures in there)
#19
jparp:
i tested using that account on my server and confirmed that no pictures show up.
i then went to http://www.flickr.com/photos/72199926@N00/ and it told me "johnpaularp's photos fall outside your current SafeSearch filter".
Can you set your "safety level" to "Safe" at http://www.flickr.com/account/?tab=privacy so we can verify if this is the problem?
#20
prattboy:
I doubt it had to do with copyright settings but it might have to do with the "safety" stuff. Would you mind verifying this is the problem too, just as I asked jparp to do in the post above?
#21
Thanks, my default safety level was set to safe, but somehow, the safety level on the 4 photos I uploaded were set to "restricted". So I fixed that, and now
http://www.flickr.com/photos/72199926@N00/
works.
Unfortunatly:
http://jp.ci-fi.net/flickr/1
Is still coming up empty. Think something else could be going wrong? I tried to make all my flickr settings as permisive as possible.
#22
jparp, could you empty your cache and see if that continues? if you go to the admin/logs are there any flickr error messages? if you have shell access can you successfully ping flickr?
#23
I had this same issue and fixed it by doing the following:
1. Inspected the variable table. I noticed some extraneous flickr_block_* variables (e.g., flickr_block_0_user_id). I removed these variables from the db.
I did NOT, however, remove the following: flickr_api_key, flickr_api_secret, flickr_default_userid
2. Truncated the cache table.
That's all. The blocks then appeared!
#24
I had this same issue, and this thread was very helpful in troubleshooting it. I think Flickr must have added the "Safe" designation for user accounts after I set up my account, and when they added the "Safe" designation for ACCOUNTS, they may have grandfathered existing photos as "restricted" to be safe. In any case, my account was flagged safe, but all of my photos were flagged as restricted.
To get the blocks working, I flagged my photos as safe, truncated my cache table, and now it's working.
#25
This looks be a support request that is now resolved.
Please reopen if you have any further questions.
Paul