Page 1 of 1

problem with flickr

Posted: Sun Oct 23, 2005 7:20 pm
by nPu
hi, i have tried to install flickr plugin through my administration and I have ended fu*ked up

Code: Select all

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
what shall I do?

Re: problem with flickr

Posted: Mon Oct 24, 2005 12:30 pm
by garvinhicking
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

Posted: Thu Nov 24, 2005 10:28 pm
by Guest
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!

Help!

Posted: Thu Nov 24, 2005 10:30 pm
by zoran
Usually you can still delete corrupted plugins from the backend.

Perhaps you can give a link to your site and explain what went wrong? If not, it is a bit hard to offer any help ...

Posted: Thu Nov 24, 2005 10:54 pm
by sasha
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.

Posted: Fri Jan 20, 2006 7:17 am
by latcarf
flickr plugin read me points here for instructions:

http://code.iamcal.com/php/flickr/readme.htm

this plugin needs documentation

Posted: Thu Feb 01, 2007 4:36 am
by philip
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:
  1. Do not install the plugin first, but since you did, continue.
  2. Go to the following site and read the readme: http://code.iamcal.com/php/flickr/readme.htm
  3. Download the latest package from the above URL. Unzip it somewhere.
  4. 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.
  5. 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.

Re: this plugin needs documentation

Posted: Thu Feb 01, 2007 12:17 pm
by garvinhicking
Hi!

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