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
Comment #1
marty2081 commentedComment #2
bcobin commentedDead 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...
Comment #3
marty2081 commented@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.
Comment #4
donnycarette commentedFlickrgallery 7.x-3.0-beta1 is released to make the module back compatible with flickrapi (dev)
Comment #5
michaelrajchandra commentedi 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"
Comment #6
donnycarette commented@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)
Comment #7
michaelrajchandra commentedi already have that in the libraries folder exactly in the same path :(
Comment #8
knarzer77 commentedHi,
@ZaDeveloper: I solved this problem with "Flush all caches".
Jan
Comment #9
bloomt commented@ZaDeveloper did you ever figure this out. Clearing my caches does not solve this issue.
Comment #10
donnycarette commentedDid 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)
Comment #11
miteshmap