Skip to Content Skip to Menu

[SOLVED] problems when upgrade from 1.9.1 to 2.0.9

9 years 5 months ago - 9 years 4 months ago #265482 by larleuchem
Hello people,

When I upgrade community builder from 1.9.1 to 2.0.9 it first returns to me a succes message :)

The second step : I go to the Tools section, and click on the "check the database" button.
It says =>
Table #__comprofiler_tabs Column useraccessgroupid exists but should not exist
The Core CB database structure differences can be fixed (adjusted) by clicking here : Click here to fix (adjust) all Core CB database differences listed above

If I click the button, it will remove the j25_comprofiler_tabs.useraccessgroupid column, but then, on the front site, I get an error and the site is not working anymore..=>

1054
Erreur: 1054
Unknown column 't.useraccessgroupid' in 'where clause' SQL=SELECT * FROM j25_comprofiler_tabs t WHERE t.enabled=1 AND t.useraccessgroupid IN (-2,1) ORDER BY t.position, t.ordering


I've made a copy of the j25_comprofiler_tabs table, so I replace it by my saved one, and it works again, but I don't understand why I am asked to fix a problem by deleteing a column, that it still needed.



thanx for help :)
Ben
Last edit: 9 years 4 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago - 9 years 5 months ago #265493 by krileon
Replied by krileon on topic problems when upgrade from 1.9.1 to 2.0.9
That column isn't used anymore. Your query maybe coming from a out of date CB plugin trying to use it. I recommend watching the below upgrade video and reading carefully the CB 2.0 Primer Book.



You can find a CB 2.x plugin compatibility table below to grab latest plugin releases.

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


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: 9 years 5 months ago by krileon.

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

9 years 4 months ago #265566 by larleuchem
Replied by larleuchem on topic problems when upgrade from 1.9.1 to 2.0.9
thanx for your help,
I did what you told me and it works fine now


I now have a last problem.
I want to upgrade CbSubs auto action, and I have a mysql error :

Unknown column 'translate' in 'field list' SQL=UPDATE `j25_comprofiler_plugin_autoactions` SET `title` = 'Redirection https -> http quand connexion', `description` = '', `type` = 'redirect', `trigger` = 'onAfterLogin', `object` = '0', `variable` = '1', `access` = '-1|*|1', `conditions` = NULL, `field` = NULL, `operator` = NULL, `value` = NULL, `exclude` = '', `published` = '0', `ordering` = '14', `params` = '{\"redirect\":{\"url\":\"http:\\/\\/www.ma-prepa-quotidienne.fr\\/plateforme\\/EspacePerso\\/\",\"message\":\"\",\"type\":\"alert\"}}', `translate` = NULL WHERE `id` = '1'


As it's been said, there is no "translate" column in j25_comprofiler_plugin_autoactions....
but if I check the plugin management, it said to me this is the 6.2.3 version?

what did wrong please?
I have to use tue auto action plugin

thanx for your help
Ben


NB :
there is still 3 langage plugin not up to date
CB Paid Subscriptions French
CB Paid Subscriptions - en-GB
CB Paid Subscriptions English

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

9 years 4 months ago #265567 by larleuchem
Replied by larleuchem on topic problems when upgrade from 1.9.1 to 2.0.9
I have done this :
alter table `j25_comprofiler_plugin_autoactions` add column `translate` varchar (255)

then I've done the upggrade and it said to me:
Upload Success
CB Auto Actions
Perform actions at various Community Builder triggers.

so I'm not sure all is OK, because I firstly get the mysql error...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #265583 by krileon
Replied by krileon on topic problems when upgrade from 1.9.1 to 2.0.9
CB Auto Actions error comes from missing a stable release. For example going from 4.x to 6.x. To fix you'd upgrade to 5.x then 6.x so the column will exist as the migration doesn't account for that far back.


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.

9 years 4 months ago #265642 by larleuchem
Replied by larleuchem on topic problems when upgrade from 1.9.1 to 2.0.9
it works fine, thanx again
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum