Hey members,
since a few days, I run into the problem that the plugin "serendipity_plugin_flickr" is not working anymore (or something has changed on the flickr front I totaly missed).
The two defined messages "PLUGIN_SIDEBAR_FLICKR_ERROR_WRONGUSER" and ""PLUGIN_SIDEBAR_FLICKR_ERROR_NOIMG" are shown on the page.
For sure, I havn't changed anything, but I did a quick search and found two blogs having the same error message output.
http://www.thorstennis.org/serendipity/
http://diwision.de/blog/index.php?/arch ... 04/C5.html
http://abschnitt6.leibelt.de/
//part one since I'm using more than four urls
[serendipity_plugin_flickr] account not available
Re: [serendipity_plugin_flickr] account not available
//part two
I did a search for "flickr api changelog" and out https://www.flickr.com/services/developer/changelog/ and http://code.flickr.net/2014/04/30/flick ... 27th-2014/.
All I did was a quick one.
I changed into the directory "plugins/serendipity_plugins_flickr".
Hope I added enough informations or at least a point where you are able to start with. If I can add more informations or support you, simple let me know.
Greetings and thanks,
artodeto
I did a search for "flickr api changelog" and out https://www.flickr.com/services/developer/changelog/ and http://code.flickr.net/2014/04/30/flick ... 27th-2014/.
All I did was a quick one.
I changed into the directory "plugins/serendipity_plugins_flickr".
- "mv phpFlickr phpFlickrOld"
- "mkdir phpFlickr"
- "cd phpFlickr"
- "git clone https://github.com/dan-coulter/phpflickr ."
- reload the page, but without any effect
Hope I added enough informations or at least a point where you are able to start with. If I can add more informations or support you, simple let me know.
Greetings and thanks,
artodeto
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: [serendipity_plugin_flickr] account not available
Hey,
thanks for reporting. Let's see if we can debug this.
Upgrading the flickr library was a good idea already, indeed it seems the API endpoints changed.
Indeed there is caching going on. Check the configuration of the flickr sidebar plugin and set the cachetimout to a value like 1, just so that we can prevent issues.
If it still does not work, check the serendipity_plugin_flickr.php file, it has this at around line 209:
You could change that to:
This debug output should lead us on track.
Best regards,
Garvin
thanks for reporting. Let's see if we can debug this.
Upgrading the flickr library was a good idea already, indeed it seems the API endpoints changed.
Indeed there is caching going on. Check the configuration of the flickr sidebar plugin and set the cachetimout to a value like 1, just so that we can prevent issues.
If it still does not work, check the serendipity_plugin_flickr.php file, it has this at around line 209:
Code: Select all
if (stristr($username,'@')) {
$nsid = $f->people_findByEmail($username);
}
else {
$nsid = $f->people_findByUsername($username);
}
Code: Select all
echo "FLICKR-DEBUG: Showing pictures of $username<br />\n";
if (stristr($username,'@')) {
$nsid = $f->people_findByEmail($username);
echo "FLICKR-DEBUG: findByEmail result: <pre>" . print_r($nsid, true) . "</pre><br />\n";
} else {
$nsid = $f->people_findByUsername($username);
echo "FLICKR-DEBUG: findByUsername result: <pre>" . print_r($nsid, true) . "</pre><br />\n";
}
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: [serendipity_plugin_flickr] account not available
Hey Garvin,
so I was trolled by the caching ... dump one I am.
Anyways, I did an plugin update on my blogs so I saw what you (or a other maintainer) did there - thanks for the quick fix .
so I was trolled by the caching ... dump one I am.
Anyways, I did an plugin update on my blogs so I saw what you (or a other maintainer) did there - thanks for the quick fix .