Due to issue #2301991: Put phpFlickr library in sites/all/libraries that has been committed to the 7.x-1.x-dev branch of the flickrapi module the flickrgallery module needs to add some code to load the phpFlickr library. The phpFlickr library has been moved out of the module to be handled as a proper library in the sites/all/libraries folder and needs to be loaded using libraries_load('phpFlickr') before trying to access its classes/methods.

When you've made the required changes, can you contact the maintainer of the flickrapi module so that he/she can create a release?

Comments

marty2081’s picture

bcobin’s picture

Dead in there water here now - I've had to disable flickrgallery on all my sites until this gets resolved... I'm sending out an email now. Bummer.

Following... thanks!

Update: More details...

Downloaded phpFlickr 3.1.1 which now resides in sites/all/libraries

Usling latest dev versions of flickrapi ann flickrgallery

phpFlickr.php already reflects the changes in patch from https://www.drupal.org/node/2295107

Going to /flickr results in:

Fatal error: Class 'phpFlickr' not found in /home/suffolk/public_html/sites/all/modules/flickrgallery/flickrgallery.module on line 126

What do I do now? Thanks...

marty2081’s picture

@bcobin: if you use the last stable version of the FlickrAPI module (7.x-1.5), you should have no issues with the FlickrGallery module. I reckon you are using the development version of the FlickrAPI module now? Just roll back to the 7.x-1.5 version then.

This issue is raised to get the FlickrGallery module compatible with the next release of the FlickrAPI module.

donnycarette’s picture

Flickrgallery 7.x-3.0-beta1 is released to make the module back compatible with flickrapi (dev)

michaelrajchandra’s picture

i have installed latest Dev ver of flickrapi and flickrgallery 7.x-3.0-beta1
This is error i am getting
"phpFlickr library was not found"

donnycarette’s picture

@ZaDeveloper You need to have phpFlickr files in sites/all/libraries/phpFlickr (Flickrapi module requires that, probably the flickrapi modules needs to add a check if the files are there)

michaelrajchandra’s picture

i already have that in the libraries folder exactly in the same path :(

knarzer77’s picture

Hi,

@ZaDeveloper: I solved this problem with "Flush all caches".

Jan

bloomt’s picture

@ZaDeveloper did you ever figure this out. Clearing my caches does not solve this issue.

donnycarette’s picture

Did you downloaded phpflickr from https://github.com/dan-coulter/phpflickr?
The file should have the following path: sites/all/libraries/phpFlickr/phpFlickr.php (and make sure to have the uppercase correct for phpFlickr)

miteshmap’s picture

Status: Active » Closed (works as designed)