Skip to Content Skip to Menu

MyISAM- innoDB engines, plug_cbactivity_3.0.0-rc.1

  • AgnesB
  • AgnesB
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
9 years 5 months ago #263823 by AgnesB
After upgrading to CB 2.0.8, I encountered several problems. For the last 15 days, I tried to address issues blocking the frontend cb-user profile access page. I read in-and-out all forum pages with regard to MyISAM and innoDB Engines, and similar issues already addressed on the forums. I followed the instructions of all the answers. I am still encountering problems on the backend and the frontend.

Backend:
A. I re-installed pkg_communitybuilder_2.0.8+ac65b53b3
- I run all Community Builder tools: CB users database: all green.Check Community Builder User Fields Database with strict column types, used the fix tool as recommended, then all green. Check Community Builder Plugin Database: all green, CB Tools: Check CB plugins database: Results: most green, with specific issues:
CB plugin "Rounded": no database or no database description.
CB plugin "en-GB": en-GB has no readable xml file /home/frontmat/public_html/components/com_comprofiler/plugin/language/en-gb/language.xml
CB plugin "CB Activity" database structure differences:
Table #__comprofiler_plugin_activity Index type_item_date does not exist
Table #__comprofiler_plugin_activity Storage Engine is MyISAM instead of InnoDB
Table #__comprofiler_plugin_activity_comments does not exist
Table #__comprofiler_plugin_activity_hidden does not exist
Table #__comprofiler_plugin_activity_actions does not exist
Table #__comprofiler_plugin_activity_emotes does not exist
CB plugin "CB LastViews Tab": no database or no database description.
CB plugin "Invoicing Invoices -Tab": no database or no database description.
The CB plugin "CB Activity" database structure differences can be fixed (adjusted) by clicking here: Click here to fix (adjust) all CB plugin "CB Activity" database differences listed above Click here to show details. When running “CB fix”: "an error has occurred.
“ 1071 Specified key was too long; max key length is 1000 bytes SQL=ALTER TABLE `aj9u3_comprofiler_plugin_activity` ADD KEY `type_item_date` (`type`, `item`, `date`)”

- I checked Joomla user table: administrator/components/com_admin/sql/updates/mysql/3.0.0.sql line 87:ALTER TABLE `#__session` ENGINE=InnoDB; all tables uses InnoDB; see file attached to Ticket ID: 252452
- I verified mysql tables engines and extracted a report showing several CB plugins still using MyISAM (see Ticket ID: 252452, attached file MyISAM-InnoDB MySQL Tables), all cb subscriptions table engines are using MyISAM, secondly a large number of other CB plugins are still using MyISAM,
- I uninstalled /unpublished third party plugins potential source of the problem.

B: I installed plug_cbactivity_3.0.0-rc.1+908e20f9c, hoping that it addresses the old activity plugin issues. plug_cbactivity_3.0.0-rc.1+908e20f9c
Specified key was too long; max key length is 1000 bytes SQL=ALTER TABLE `xxxxx_comprofiler_plugin_activity` ADD KEY `type_item_date` (`type`, `item`, `date`):...

When I enable plug_cbactivity_3.0.0-rc, I encounter the following problems:
- Frontend, CB user profile access: blank page. Debug message: Fatal error: Class 'CB\Plugin\Activity\Activity' not found in /home/xxxxx/public_html/components/com_comprofiler/plugin/user/plug_cbactivity/cbactivity.php on line 31
- Backend: Community Builder Tools: CB users database, CB plugin database, Check Community Builder User Fields Database: all green. Check Community Builder Plugin Database: redirect to frontend, no debugging message or elements issue on the console.

Your help will be well appreciated.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 5 months ago #263827 by krileon
Your install is incomplete. It's erroring at the database level so the files are not copying over completely. You need to fix your database table engine. Navigate to your database in phpmyadmin and fix all of Joomla and CBs tables to InnoDB. CB uses the engine of the _users table specifically. The index causing this issue has been removed for RC2 as many installs seam to still be on MyISAM (everyone should fix this ASAP). You'll probably need to uninstall CB Activity before attempting to install it again.


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.
The following user(s) said Thank You: AgnesB

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

Moderators: beatnantkrileon
Powered by Kunena Forum