Yes its a Flickr Plugin question..

Creating and modifying plugins.
Post Reply
djtempest
Regular
Posts: 6
Joined: Wed Jul 12, 2006 8:45 pm

Yes its a Flickr Plugin question..

Post by djtempest »

Ok I have the classic

Fatal error: generate_content(): Failed opening required 'Flickr/API.php'

error which I know means I am missing files. I've read through the readme and from what I can gather its asking you to copy some PEAR files from the phpFlickr class. Well the problem with that is there is no API.php in there!

I might be being extrememly dense here but I hope someone can shed some light on where to get this API.php file..
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Yes its a Flickr Plugin question..

Post by garvinhicking »

Hi!

The readme.txt is not talking of a PEAR class, it is talking of a phpFlickr class that you need to download and either put into the plugin directory or your bundled-libs directory. :)

The download URL should be mentioned in the readme of the plugin?

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/
djtempest
Regular
Posts: 6
Joined: Wed Jul 12, 2006 8:45 pm

Post by djtempest »

yea sorry I wasnt clear - I downloaded the phpFlickr class but it contains no API.php file :o

The only url in the readme showed ways to install the PEAR class but no mention of this API.php file..
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, the mentioned URL is http://code.iamcal.com/php/flickr/readme.htm

There, the ZIP package contains a pear/Flickr/API.php file. :)

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/
djtempest
Regular
Posts: 6
Joined: Wed Jul 12, 2006 8:45 pm

Post by djtempest »

*slaps head* I was downloading the PHPFlickr class from its own website rather then that url :oops:

thanks for your help!
Post Reply