Page 1 of 1
Flickr plugin problems
Posted: Thu Oct 12, 2006 2:39 pm
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
Re: Flickr plugin problems
Posted: Thu Oct 12, 2006 3:17 pm
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
Posted: Thu Oct 12, 2006 3:39 pm
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.
Posted: Thu Oct 12, 2006 3:45 pm
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
Posted: Thu Oct 12, 2006 3:53 pm
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..
Posted: Thu Oct 12, 2006 3:56 pm
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?
Posted: Thu Oct 12, 2006 4:00 pm
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
Posted: Thu Oct 12, 2006 4:05 pm
by aladdin
Thank you Guys.. for your great help..
Page down?
Posted: Thu Oct 26, 2006 10:51 am
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.
Posted: Thu Nov 02, 2006 7:58 pm
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