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
Flickr plugin problems
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Flickr plugin problems
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
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/
# 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/
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.
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
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
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?
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?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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/
# 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/
Page down?
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.
I can't seem to load this page.
kk, thanks.
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