You aren't signed in     Sign In    Help

tantannoodles.com WordPress Flickr Plugins / Discuss

Current Discussion

Displaying all tags & linking to different size images
Latest: 13 minutes ago
Album displaying well.... except for the last line !
Latest: 3 hours ago
what templates?
Latest: 17 hours ago
Problem with installing plugin!
Latest: 20 hours ago
Links to other image sizes in Lightbox plugin?
Latest: 21 hours ago
Exclude subpages
Latest: 27 hours ago
insert into post problem
Latest: 2 days ago
template files..
Latest: 4 days ago
Database error
Latest: 4 days ago
maybe I'm missing something, but...
Latest: 5 days ago
Database character encoding (utf8) error message - what?
Latest: 5 days ago
Big trouble with always over quota cache - even with the latest version Cache table doesnt empty automatically. HELp !
Latest: 5 days ago
More...

Can't redeclare class Services_JSON

view profile

line47  Pro User  says:

Everything else is working fine but I can't get the option to insert images into posts working. I get this error.

Fatal error: Cannot redeclare class Services_JSON in /home/site/www/www/wp-content/plugins/tantan-flickr/flickr/json.php on line 116
Posted at 7:42PM, 16 June 2008 PST ( permalink )

view photostream

evamaria_n  Pro User  says:

Same problem here. :( Using WP 2.5.1, in case that makes a difference.
Posted 5 months ago. ( permalink )

view photostream

toddjensen  Pro User  says:

Me too, was working fine in 2.5.1, so must be something on flickr side?
Posted 5 months ago. ( permalink )

view photostream

Joe Tan is a group administrator Joe Tan  Pro User  says:

try this... line 325 of tantan-flickr/flickr/class-admin.php

change it from:

require_once(dirname(__FILE__).'/json.php');

to

if (!class_exists('Services_JSON')) require_once(dirname(__FILE__).'/json.php');
Posted 5 months ago. ( permalink )

view photostream

Phil Scoville  Pro User  says:

Thanks. That worked perfectly for me. I had the same problem and this fixed it up. Joe Tan you're the best. Thanks for this most excellent plugin. I couldn't have done it or maintain it myself. So a huge thanks.
Posted 5 months ago. ( permalink )

view photostream

lorien  Pro User  says:

That line change fixed that error for me as well. Thanks!
Posted 5 months ago. ( permalink )

view photostream

line47  Pro User  says:

This fixed it for me too!
Posted 4 months ago. ( permalink )

view photostream

evamaria_n  Pro User  says:

The insertion now appears to work (thank you!), but at the top of the admin area it now says "if (!class_exists('Services_JSON')) require_once(dirname(__FILE__).'/json.php');". Not on the actual blog, though, so I don't really mind. Thanks again.
Posted 4 months ago. ( permalink )

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to tantannoodles.com WordPress Flickr Plugins discussion threads
Add to My Yahoo!