Flickr Plugin Returning Error and Removing all sidebar plugs

Creating and modifying plugins.
Post Reply
hudson-valley-dad
Regular
Posts: 40
Joined: Sun Feb 18, 2007 3:11 am

Flickr Plugin Returning Error and Removing all sidebar plugs

Post by hudson-valley-dad »

I added the flickr sidebar plugin and now all of my sidebar plugins are gone and there is error code being displayed instead.

I would uninstall it but it does not appear in the list for configuring plugins.

url is: robertsilichmd dot com

error message:

serendipity_plugin_flickr::require_once(Flickr/API.php) [function.serendipity-plugin-flickr-require-once]: failed to open stream: No such file or directory in /home/robertsi/public_html/plasticsurgeryblog/plugins/serendipity_plugin_flickr/serendipity_plugin_flickr.php on line 146
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

Post by mattsches »

Did you read the instructions in README.TXT? You have to download and "install" the PEAR::Flickr_API library from here.

I suppose you can upload the folder into the dir of the flickr plugin, or put it into bundled-libs.
hudson-valley-dad
Regular
Posts: 40
Joined: Sun Feb 18, 2007 3:11 am

Post by hudson-valley-dad »

forget it. I thought the whole point of sparta was that I didn't have to go and download readme files.

At this point all I want to do is uninstall it but I can't seem to do that even if I delete the folder from my server.
hudson-valley-dad
Regular
Posts: 40
Joined: Sun Feb 18, 2007 3:11 am

Post by hudson-valley-dad »

Okay I was able to uninstall it now. thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Sadly Spartacus can only deliver what is maintained via spartacus. Some external libraries do not allow to be bundled, so we cannot offer automatic download of it.

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/
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

Is there a way to make spartacus give a huge flashing bright red warning saying something external is needed? I am thinking that if its clearer that some more work is needed it would make it easier for people not to install plugins that they have no idea how to get working.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Not at the moment, the Api has no flag for "indicating external dependencies", to handle that is more the responsibility of a specific plugin.

Most should be coded to not fail when the external dep is unmet.

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/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

If I install the flickr api as described in the README file, I get PHP problems. Tree.php has a clone() function, that is not allowed in PHP5. I renamed it, but then I get some strange redifinition problems with PEAR.php in the bundled lib, that is not there without the Flickr API.

Is this module still working at all? Is it working in any PHP5 environment?

A big problem is the "if (required_once(Flickr/API.php))" as this gives a fatal error instead of false. At least at my hoster (and with PHP5). There should be a check for file existance before, as done in other plugins. This check can also be implemented for the configuration screen in order to show a big red information, that the API is missing..
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply