Flickr plugin problems

Creating and modifying plugins.
Post Reply
aladdin
Regular
Posts: 7
Joined: Mon Oct 09, 2006 1:07 pm

Flickr plugin problems

Post by aladdin »

I have installed the flickr plugin and used API key and secret code provided by flickr.

Error occured: Cannot find Flickr/API.php
have downloaded it from
http://code.iamcal.com/php/flickr/readme.htm

and uploaded the Flickr/API.php to "plugins/serendipity_plugin_flickr" folder on my server.

The following error occured which I have no clue:

Warning: require_once(XML/Tree.php) [function.require-once]: failed to open stream

thanks in advance
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Flickr plugin problems

Post by garvinhicking »

Hi!

Please put those files + directories into the "bundled-libs" directory of serendipity - does that change anything?

The XML/Tree error happens, because you must also put the PEAR:HTML_Tree into bundled-libs , which is required by the Flickr API plugin. I believe the files are inside that plugin as well?

HTH,
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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Actually, the files are missing from the plugin. But the README tells you where to get them: http://code.iamcal.com/php/flickr/readme.htm. The first package includes a Flickr API, an XML/Tree, and a few other things you'll be needing.
Judebert
---
Website | Wishlist | PayPal
aladdin
Regular
Posts: 7
Joined: Mon Oct 09, 2006 1:07 pm

Post by aladdin »

Now I am getting this error message:

syntax error, unexpected T_CLONE, expecting T_STRING in /blog/bundled-libs/XML/Tree.php on line 297

I searched in your blog and found this entry useful but am unable to proceed forward:

http://www.s9y.org/forums/viewtopic.php ... ght=tclone
aladdin
Regular
Posts: 7
Joined: Mon Oct 09, 2006 1:07 pm

Post by aladdin »

Got it :-)

re installed the XML_Tree-2.0.0RC2

worked perfectly..

Thanks anyways

can you please remove the first post from me bcos I bychance entered my personal details in the first post..
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I took out the personally-identifying information. I'd like the post to stick around for the benefit of others, if you don't mind.

Glad you found it, too! I was going to tear my hair out if clone() was an unacceptable function name.

Maybe we should include the PEAR modules required along with the plugin. Garvin, is that a licensing issue or something?
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, it's a licensing issue; the phpflickr api cannot be bundled so easily. Plus it updates often, and I'd like to avoid maintaining it. The same applies to bundling XML/Tree, this seems to still change very often...

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/
aladdin
Regular
Posts: 7
Joined: Mon Oct 09, 2006 1:07 pm

Post by aladdin »

Thank you Guys.. for your great help..
nOtiC
Posts: 1
Joined: Thu Oct 26, 2006 10:36 am

Page down?

Post by nOtiC »

is there somewhere else to find the needed files from http://code.iamcal.com/php/flickr/readme.htm
I can't seem to load this page.

kk, thanks.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It's working for me, but if you're still having problems, I've uploaded it to my site: http://www.judebert.com/wasted_youth/me ... latest.zip
Judebert
---
Website | Wishlist | PayPal
Post Reply