[SOLVED] Fatal Error: cannot redeclare

14 years 1 month ago #127324 by roelgyde
[SOLVED] Fatal Error: cannot redeclare was created by roelgyde
Hi,

I installed the CB Twitter Connect 1.0 RC together with the Facebook Connect 1.0 RC on a CB 1.2.2 environment.

The Facebook Connect PlugIn was first installed and works fine. Afterwards the Twitter Connect PlugIn was added ... then the issues came up ...

* The "Hide on Auth Integrations' has been set to YES
* The twitter app has been correctly configured (key & secret)

Now that both PlugIns are active I get the following error ...

Fatal error: Cannot redeclare class getcbtwitterTab in ***/components/com_comprofiler/plugin/user/plug_cbtwitter/cbtwitter.php on line 125.

At line 125 I only find the following character }

When I un-publish the CB Twitter Connect PlugIn the system once again works like a dream.

I ran through the documentation but did not find any on this.

Anybody an idea or comment?

Regards,

Roel

Post edited by: krileon, at: 2010/03/22 16:06

Please Log in to join the conversation.

14 years 1 month ago #127407 by krileon
Please ensure you do not have an already existing twitter plugin which uses the same class. Only CB team releases are permitted to use CB through out the plugin, any developer doing so is in violation of API usage agreements.


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 to join the conversation.

14 years 4 weeks ago #127530 by roelgyde
Hi Krileon,

Issue has been resolved ... I was using the "Twitter plugin for Community Builder" from Nordmograph to give users the possibility to publish their tweets onto their CB profiles. This actually generated the issue.

After uninstalling it, it just went very smooth.

Cheers,
Roel

Post edited by: roelgyde, at: 2010/03/22 00:29

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.184 seconds

Facebook Twitter LinkedIn