Skip to Content Skip to Menu

Errors unable to solve after installing Community Builder 2.0 RC2

  • aalisg
  • aalisg
  • OFFLINE
  • Posts: 102
  • Thanks: 7
  • Karma: 0
10 years 2 months ago #248509 by aalisg
Hello,

We just installed Community Builder 2.0 RC2 on our test website and it seems there are a lot of errors that Community Builder tool seems to be unable to repair as we get this error :

1062 Duplicate entry 'plug_cbprivacy' for key 'folder' SQL=ALTER TABLE `prefix_comprofiler_plugin` ADD UNIQUE KEY `folder` (`folder`)

Can you please help me to correct it ?

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 2 months ago - 10 years 2 months ago #248513 by krileon
You've a duplicate plugin installed. That column index was made unique in RC2, but we've since reverted that for next release. Quickfix as follows.

IN: administrator/components/com_comprofiler/database/database.cbcore.xml
ON: Lines 755 - 760
FROM:
Code:
<index name="element" type="unique"> <column name="element" /> </index> <index name="folder" type="unique"> <column name="folder" /> </index>
TO:
Code:
<index name="element"> <column name="element" /> </index> <index name="folder"> <column name="folder" /> </index>

Once done run the Check Community Builder Database tool and it'll ask if you want to fix it.

Note there's also a unique index for tabs that was also reverted, which you can fix with the below.

www.joomlapolis.com/forum/6-news-and-publicity/226269-next-generation-community-builder-20-rc2-released?start=24#248378


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.
Last edit: 10 years 2 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum