Support » Plugins and Hacks » [Plugin: Flickr Gallery] Fatal Error in v0.1.2

Viewing 9 replies - 1 through 9 (of 9 total)
  • This will only affect a small amount of people. I’ll figure out a fix for 0.1.3. In the meantime, check out the phpFlickr.php file. There are two ini_set lines at the top. One of them is commented out. If you flip those two, it should start working for you.

    I made the change to phpFlickr.php, but now I receive the following error:

    Fatal error: Cannot redeclare class phpflickr in {server path}/wp-content/plugins/flickr-gallery/phpFlickr/phpFlickr.php on line 44

    Any suggestions?

    That’s really odd. I’ll get a release out in a day or two that should address the initial problem. Sorry for the errors.

    I just put up the new version. It shouldn’t have any further problems with the includes. In fact, I created a branch of phpFlickr that doesn’t use the PEAR libraries at all.

    Hey Dan, thanks for this. I’ve been waiting for a Flickr plugin that actually works well 🙂 – I mean other than the ones based on phpFlickr.

    I get this error:

    Warning: init(phpFlickr.php) [function.init]: failed to open stream: No such file or directory in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 62
    
    Warning: init() [function.include]: Failed opening 'phpFlickr.php' for inclusion (include_path='.:/usr/lib/php') in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 62
    
    Fatal error: Cannot instantiate non-existent class: phpflickr in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 63

    This is just a capitalization issue… so the developer is probably working in a windows environment (for shame)! It works just fine once you change the includes to lowercase.

    I suppose it’s also possible this is a product of how I’m unzipping the files… are they supposed to be capitalized in the zip? *sheepish grin*

    I’ve been developing this on Linux actually. When I download the zip or look at SVN, the file is correctly capitalized like the include. What are you using to unzip the files?

    I always just use unzip… unzip –help says:
    UnZip 5.52 of 28 February 2005, by Debian. Original by Info-ZIP.

    Very strange.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Flickr Gallery] Fatal Error in v0.1.2’ is closed to new replies.