Warning: generate_content(Flickr/API.php): failed to open stream: No such file or directory in /home/ftpsite/petrhavlik.profitux.cz/blog/plugins/serendipity_plugin_flickr/serendipity_plugin_flickr.php on line 166
Fatal error: generate_content(): Failed opening required 'Flickr/API.php' (include_path='.:/usr/lib/php:/home/ftpsite/petrhavlik.profitux.cz/blog/:/home/ftpsite/petrhavlik.profitux.cz/blog/bundled-libs/') in /home/ftpsite/petrhavlik.profitux.cz/blog/plugins/serendipity_plugin_flickr/serendipity_plugin_flickr.php on line 166
This means that the Flickr/API.php file could not be found.
Please read the readme.txt of the flickr plugin for instructions on what prerequisites you need to run the plugin
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/
I had the same problem but the really big issue is I can't uninstall the plugin and it has corrupted the whole plugin side bar. My blog looks look awful now!
yup you were right. we were able to do that. thanks!! can you tell me where the readme file is located for flickr?
what happened was we tried to install the plugin and we saved it with a typo in our flickr account e-mail address. i don't know if this is what caused the problem but once we tried to save the plugin config it corrupted. we could not back out, we could not delete the plugin, reinstall it, or re-configure it. from the admin panel we could only see abouot 75% of our sidebar plugins and none of the event plugins in the config. plugins panel.
on the live site we only were able to view an error next to our posts. the entire plugin sidebar was gone.
we went into the backend and deleted all the flickr entries in the plugin data base.
zoran wrote:Usually you can still delete corrupted plugins from the backend.
Installing this Plugin can be a nightmare as this requirement comes without warning and will kill your blog. On a shared web host it's not always simple to install PEAR modules, and the readme is certainly not s9y specific.
How to make it work:
Do not install the plugin first, but since you did, continue.
Download the latest package from the above URL. Unzip it somewhere.
s9y alters the include_path which makes this easier so use this to your advantage. You will have /yourS9YdirHere/bundled-libs/ which will already contain PEAR packages but more are needed for the Flickr plugin. Add XML/Tree*, XML/Parser.php, and of course Flickr/* to this directory (do not add the pear/ subdirectory). You will already have the others installed (at least I did) so do as you wish. It should be okay to simply move all of them but be sure to not install older versions of said PEAR packages.
Install the plugin or at least hope that it works now.
This is a request to clearly mention in the s9y plugins area that this plugin requires external resources, in fact, I'd go as far as to have it check for the Flickr PEAR package first and if not found have the install fail. Or, automagically download the required PEAR packages into /bundled-libs/ during the install.
Note: I'm just a user and am not certain the above will work for everyone, but IIRC it did for me.
There's a new PHP5 plugin for flickr that does not have this requirement, maybe people want to try that instead, if they have PHP5...
Sadly because of licensing issues we can't bundle the flickr API with the plugin...
Thanks for your instructions - I'm sure they can help a lot of people!
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/