I had the activitystream and flickrsync modules enabled and got the fatal error above.

Temp fix:
fix is you have to choose which you want for right now.

ASK:
is there anyway to see if this function is included elsewhere and only add it if it is not?

Problem: function redefinition
activitystream/activitystream_flickr/phpFlickr.php:76: function phpFlickr ($api_key, $secret = NULL, $die_on_error = false) {

flickrapi/phpFlickr/phpFlickr.php:76: function phpFlickr ($api_key, $secret = NULL, $die_on_error = false)

Thanks,
Chris

CommentFileSizeAuthor
#3 actitivitystream_flickrapi.patch1.88 KBShiny

Comments

socialnicheguru’s picture

Title: Fatal Error: redeclare phpFlickr » Fatal Error: redeclare phpFlickr (white screen)
Project: Flickr Sync » Flickr API
Issue tags: +flickr api

This is against the flickr api and activitystream modules.. sorry about that.

Shiny’s picture

Project: Flickr API » Activity Stream
Shiny’s picture

StatusFileSize
new1.88 KB

Attached a patch for activitystream to use the flickrapi module, which will wrap up phpFlickr for it, and not cause the above errors.

Shiny’s picture

Status: Active » Needs review

(note also should delete phpflickr.php and the PEAR folder from activitystream_flickr)

akalsey’s picture

Instead of requiring the flickrapi module, I'm going to use it if it's installed, but use a local copy if not. Same strategy as I use for simplepie. This allows for easier installation of activitystream.

akalsey’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

This has been done in the 2.x branch on my git repo. Will be committed to CVS shortly.

akalsey’s picture

Status: Fixed » Closed (fixed)

In beta2