Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Problem with upgrading to cb 2.0.8 from 1.91

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 3 months ago #266880 by nant

bbains wrote: I have updated all cb and cbsubs plugins and have made sure it is correct version for newer cb. Corrected database erros as I stepped through it and seems the database was not all innodb for cb 1.91. and joomla 3.3.6, the site was orginally migrated from 2.5.28 to joomla 3.3.6

so still have the same problem right now as in no one can register and forgot password or username does not email nor give an error message when debugging is on.
this is on a clone of the real site.

I would like to get site upgraded to newer community builder and newer cbsubs

The joomla update went ok, the problems are happening when I upgrade the cb and cbsubs to 2.0.x and 4.x

would the problems with the upgrade occur if the storage engine of the cb tables is not innodb in version 1.91?


Please install latest CB and CBSubs nightly builds from this handy article:

www.joomlapolis.com/cb-20-addon-status

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

  • bbains
  • bbains
  • OFFLINE
  • Posts: 25
  • Thanks: 2
  • Karma: 0
9 years 3 months ago #266888 by bbains
Thank you, I will try that

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48475
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #266915 by krileon
Replied by krileon on topic Problem with upgrading to cb 2.0.8 from 1.91

I started over and site is now joomla 3.4.3 and upgrading from cb 1.91 to cb 2.09 get this error message

Warning: Cannot redeclare class moscomprofiler in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 41

Warning: Cannot redeclare class moscomprofilerFields in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 42

Warning: Cannot redeclare class moscomprofilerFieldValues in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 43

Warning: Cannot redeclare class moscomprofilerLists in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 44

Warning: Cannot redeclare class moscomprofilerMember in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 45

Warning: Cannot redeclare class moscomprofilerPlugin in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 46

Warning: Cannot redeclare class moscomprofilerTabs in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 47

Warning: Cannot redeclare class moscomprofilerUser in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 48

Warning: Cannot redeclare class moscomprofilerUserReport in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/LegacyLoader.php on line 49

Fatal error: Call to a member function translateToCurrentLanguage() on a non-object in <span>/</span>home<span>/</span>soulan5/public_html/testjoomla/libraries/CBLib/CBLib/Language/CBTxt.php on line 135

That's due to something loading CBs API too early. The common culprits are as follows.

1. Kunena Community Builder Plugin
2. K2 Community Builder Integration
3. CBSubs

Disable all 3 then install and you should be fine. We've yet to figure out a solution to the conflict.

did refresh and it looked like it worked, problem is now on front end with this error
Unknown column 't.useraccessgroupid' in 'where clause' SQL=SELECT * FROM pohx0_comprofiler_tabs t WHERE t.enabled=1 AND t.useraccessgroupid IN (-2,1) ORDER BY t.position, t.ordering
can log in on backend ok, have checked database and used tools in cb to fix the problems with the comprofiler tables
will keep debugging and see what is giving the error and search forums to see if anyone else has had problems with this error

That's due to your install failing half way through.


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.

  • bbains
  • bbains
  • OFFLINE
  • Posts: 25
  • Thanks: 2
  • Karma: 0
9 years 3 months ago #267040 by bbains
Did reinstall of cb 2.09 and that took care of most of the problems but still have a problem with not being able to register or forgot login email being sent.
will try again with clone of site and make sure everything is disabled and then upgrade to cb 2.09 and cbsubs 4.0.
Have not tried using nightly builds and will try that too. I am trying to get the real site updated to current cb and cbsubs and not sure what is causing the conflict. I do have kunena forums and cbsubs and virtuemart. new error I am getting is when user updates their profile and it is just when they update text fields no problem changing image:
0 Namespace does not exist

Call stack
# Function Location
1 JApplicationCms->execute() /home/soulan5/public_html/testjoomla/index.php:45
2 JApplicationSite->doExecute() /home/soulan5/public_html/testjoomla/libraries/cms/application/cms.php:252
3 JApplicationSite->dispatch() /home/soulan5/public_html/testjoomla/libraries/cms/application/site.php:230
4 JComponentHelper::renderComponent() /home/soulan5/public_html/testjoomla/libraries/cms/application/site.php:191
5 JComponentHelper::executeComponent() /home/soulan5/public_html/testjoomla/libraries/cms/component/helper.php:372
6 require_once() /home/soulan5/public_html/testjoomla/libraries/cms/component/helper.php:392
7 userSave() /home/soulan5/public_html/testjoomla/components/com_comprofiler/comprofiler.php:99
8 CB\Database\Table\UserTable->saveSafely() /home/soulan5/public_html/testjoomla/components/com_comprofiler/comprofiler.php:481
9 cbPluginHandler->trigger() /home/soulan5/public_html/testjoomla/libraries/CBLib/CB/Database/Table/UserTable.php:1099
10 cbPluginHandler->call() /home/soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/cbPluginHandler.php:1297
11 call_user_func_array() /home/soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/cbPluginHandler.php:902
12 cbautoactionsClass::{closure}()
13 cbPluginHandler->call() /home/soulan5/public_html/testjoomla/components/com_comprofiler/plugin/user/plug_cbautoactions/cbautoactions.php:122
14 call_user_func_array() /home/soulan5/public_html/testjoomla/libraries/CBLib/CB/Legacy/cbPluginHandler.php:884
15 cbautoactionsPlugin->getTrigger()
16 cbautoactionsPlugin->getAction() /home/soulan5/public_html/testjoomla/components/com_comprofiler/plugin/user/plug_cbautoactions/cbautoactions.php:925
17 cbautoactionsPlugin->getExtras() /home/soulan5/public_html/testjoomla/components/com_comprofiler/plugin/user/plug_cbautoactions/cbautoactions.php:1133
18 CBLib\Registry\ParametersStore->getNamespaceRegistry() /home/soulan5/public_html/testjoomla/components/com_comprofiler/plugin/user/plug_cbautoactions/cbautoactions.php:1065

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48475
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #267082 by krileon
Replied by krileon on topic Problem with upgrading to cb 2.0.8 from 1.91
The namespace error is fixed in latest nightly. Please install the latest CB 2.x nightly below.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build


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.

  • mikerotec
  • mikerotec
  • OFFLINE
  • Posts: 346
  • Thanks: 28
  • Karma: 2
9 years 3 months ago #267269 by mikerotec
Replied by mikerotec on topic Problem with upgrading to cb 2.0.8 from 1.91
This kind of stuff is SCARY.... I have a very active commercial site still running CB 1.9.1 / CBsubs 3.0.0

Has this 'nightly build' bugfix made it to the latest 'stable' release yet?

It's looking like a real ordeal to get upgraded, and we can't afford any glitches on our live site...

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

Moderators: beatnantkrileon
Powered by Kunena Forum