Page 1 of 1
Flickr Plugin Returning Error and Removing all sidebar plugs
Posted: Fri Oct 05, 2007 11:02 pm
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
Posted: Fri Oct 05, 2007 11:30 pm
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.
Posted: Sat Oct 06, 2007 2:11 am
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.
Posted: Sat Oct 06, 2007 2:15 am
by hudson-valley-dad
Okay I was able to uninstall it now. thanks
Posted: Sat Oct 06, 2007 2:16 pm
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
Posted: Sat Oct 06, 2007 9:03 pm
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.
Posted: Mon Oct 08, 2007 9:51 am
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
Posted: Sat Dec 08, 2007 9:54 pm
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..