Serendipity-Buch

Handbuch für Serendipity bestellen

Das offizielle, umfassende Serendipity-Handbuch für Einsteiger und Profis ist nun im Handel und kann online bei Amazon oder OpenSourcePress, oder auch bei jedem Buchhändler, bestellt werden!

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Plugins problem with flickr

Creating and modifying plugins.
nPu
 

Postby nPu » Sun Oct 23, 2005 7:20 pm

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?

User avatar
garvinhicking
Core Developer
 
Posts: 26675
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Mon Oct 24, 2005 12:30 pm

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/

Guest
 

Postby Guest » Thu Nov 24, 2005 11:28 pm

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!

zoran
Regular
 
Posts: 71
Joined: Sun Jan 16, 2005 10:13 pm
Location: Amsterdam

Postby zoran » Thu Nov 24, 2005 11:30 pm

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 ...

sasha
Regular
 
Posts: 21
Joined: Thu Nov 24, 2005 11:45 pm

Postby sasha » Thu Nov 24, 2005 11:54 pm

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.

latcarf
Regular
 
Posts: 11
Joined: Tue Apr 12, 2005 1:21 am
Location: Silicon Valley, CA

Postby latcarf » Fri Jan 20, 2006 8:17 am

flickr plugin read me points here for instructions:

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

philip
Regular
 
Posts: 8
Joined: Sat Mar 18, 2006 2:17 am

Postby philip » Thu Feb 01, 2007 5:36 am

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.

User avatar
garvinhicking
Core Developer
 
Posts: 26675
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Feb 01, 2007 1:17 pm

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
# 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/



Return to Plugins

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests