Skip to Content Skip to Menu

Fatal error: Cannot redeclare class Snoopy+cbsubs

14 years 9 months ago #123847 by crediasesoria
Hello Guys, i installed The Geocode Factory CB plugin PRO version in my website, but i have this ERROR about the "class Snoopy" when i try to use the register form of my community builder website. If i uninstall the plugin the problem stops, but if i install again the problem persist.

Somebody can give me a hand with this?

[code:1]Fatal error: Cannot redeclare class Snoopy in /var/www/vhosts/clubhipotecario.com.mx/subdomains/asesoria-de-credito-hipotecario/httpdocs/administrator/components/com_comprofiler/Snoopy.class.php on line 40[/code:1]

Note: I have the last version of CB Subs and the guys of community builder says that CB Subs is using the same class "Snoopy" and i hae to change the class of my plugin but i don´t know how.

I attached the plugin File.

Attachment cb_plug_geocodefactory_pro.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
14 years 9 months ago #123859 by krileon
Issue unrelated to CBSubs, thread moved.

Please disable the usage of snoopy in your plugin and use the following enable to use snoopy; as it is a part of CBs API. Snoopy class to be renamed in a later release to prevent conflicts. ;)

Example:
[code:1]
cbimport( 'cb.snoopy' );

$snoopy = new Snoopy;
$snoopy->read_timeout = 30;
$snoopy->fetch( URL );
[/code:1]

Post edited by: krileon, at: 2010/02/08 19:09


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

14 years 9 months ago #123860 by crediasesoria
Replied by crediasesoria on topic Re:Fatal error: Cannot redeclare class Snoopy+cbsubs
Great Support!

Thankyou very much "Krileon" that works perfect for me!

The problem is solved.


Best Regards! :woohoo:

Gabriel

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum