| 
Welcome, Guest

[1602] [SOLVED] New Field -> Yanc bug
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [1602] [SOLVED] New Field -> Yanc bug

[1602] [SOLVED] New Field -> Yanc bug 1 year, 11 months ago #125878

  • Posts:
  • Karma:
First of all thanks for an excellent component!

I don't use the yanc newsletter plugin and disabled it (I use CC Newsletter).

Still, even though deactivated, parts of the system try to look for yanc classes.

Try deactivating the yanc plugin and go to Field Management and click new field.

I get this:
Fatal error: Cannot redeclare class getNewslettersTab in /joomla/components/com_comprofiler/plugin/user/plug_yancintegration/yanc.php on line 329

The same happens if I choose to view all fields in the overview.

Its as if the system is still looking for yanc parts - how do I get around this?

Edit: I did already look in FAQ and help pages, but I can't find anything specific that adresses this issue

Post edited by: Pixed, at: 2010/03/04 13:59

Post edited by: Pixed, at: 2010/03/04 14:08

Post edited by: nant, at: 2010/03/13 08:18
The topic has been locked.

[SOLVED] Re:New Field -> Yanc bug 1 year, 11 months ago #125880

  • Posts:
  • Karma:
Ok, this is indeed a problem with the CCNewsletter plugin, not the core. Sorry.

The fix is to rename all text instances of 'getNewsletterTab' to 'getCCNewslettersTab' in the cc newsletter plugin files:

plug_ccnewsletter/ccnewsletter.php
plug_ccnewsletter/ccnewsletter.xml

Post edited by: Pixed, at: 2010/03/04 14:07
The topic has been locked.

Re:[SOLVED] Re:New Field -> Yanc bug 1 year, 11 months ago #126712

  • Posts:
  • Karma:
i have make delete the php code the yanc.php only.
then works better with the community builder.
(tab for newsletter in the profil is then also showing)
sorry for my bad english.
The topic has been locked.

Re:[SOLVED] Re:New Field -> Yanc bug 1 year, 11 months ago #126720

  • Posts:
  • Karma:
Thanks for reporting.

#1602.
The topic has been locked.

Re:[SOLVED] Re:New Field -> Yanc bug 1 year, 11 months ago #126723

  • Posts:
  • Karma:
As updated on the forge:

This is not a bug of CB.

Third-party plugins should not use CB's core class names.
Beat
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly
CB links: Subscribe to CB documentation - Our templates - Paid Subscriptions - Get Hosting - Our Forge - Incubator
Visit my CB Profile - Send me a Private Message (PM)
--
help us spend more time coding by helping others in this forum, many thanks
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.63 seconds