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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | actitivitystream_flickrapi.patch | 1.88 KB | Shiny |
Comments
Comment #1
socialnicheguru commentedThis is against the flickr api and activitystream modules.. sorry about that.
Comment #2
Shiny commentedComment #3
Shiny commentedAttached a patch for activitystream to use the flickrapi module, which will wrap up phpFlickr for it, and not cause the above errors.
Comment #4
Shiny commented(note also should delete phpflickr.php and the PEAR folder from activitystream_flickr)
Comment #5
akalsey commentedInstead 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.
Comment #6
akalsey commentedThis has been done in the 2.x branch on my git repo. Will be committed to CVS shortly.
Comment #7
akalsey commentedIn beta2