Skip to Content Skip to Menu

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

CB upgrade fails with CBTxt.php error messages - CBTxt.php undefined language

  • EPICweb
  • EPICweb
  • OFFLINE
  • Posts: 35
  • Thanks: 12
  • Karma: 1
9 years 2 weeks ago #271971 by EPICweb
My environment:
Local installation using XAMPP/Apache server. Windows 10.
PHP 5.5.28
SQL Database 5.6.26
Joomla 3.4.4
CBSubs 3.0.0 (disabled)
Max error reporting and debug turned on.

All extensions were disabled before attempt. This includes components with integrations to CB: EasyBlog, Kunena, Fabrik (I think it does, so I disabled it to be safe.)

CB was 1.9.1. I tried upgrade using latest nightly build. I've tried the standard download and got the same result. I also tried refresh based on experience of another poster. He indicated that the install continued to completion for him. Didn't work for me.

Following errors appeared after upgrade:

PHP Notice: Undefined index: default_language in C:\xampp\htdocs\backuptest\libraries\CBLib\CBLib\Language\CBTxt.php on line 518

PHP Warning: Invalid argument supplied for foreach() in C:xampp\htdocs\backuptest\libraries\CBLib\CBLib\Language\CBTxt.php on line 518

Community Builder does not appear on the Admin menu under Components. Paid Subscriptions (CBSubs) does show up after enabling CB Admin Menu. Trying to access Payments Center, I get a blank page and no errors, no warnings. According to Extensions Manager, my CB is now 2.0.11. Pic attached.





Nick responded to post in CB General area:
"Please start new post in the Professional support forum area.
Check that you have updated any language plugins and add-ons after your CB 2.0.11 install."

Me again:
If I can't get my CB 2.0.11 to install so I can access it, how can I update my language plugin?

Which file should I download? I assume it would be one for 2.0.11 providing I can get to the CB plugin manager. Should I try updating the language plugin (default_language I think) before I try the upgrade again?

Should I create a subfolder on my live server and start over? Then I could let you guys have a look if you wanna.

Off to restore my site AGAIN and wait for any guidance.

Betty K.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 2 weeks ago #271978 by krileon
Disable all integrations with CB. If K2 is installed and configured to integrate with CB then disable the integation. If Kunena is installed and its CB plugin is enabled then disable Kunenas CB plugin. Next disable all Joomla Extensions > Plugins for CB (including CBSubs). Lastly disable the admin module for CB. Now within CB > Plugin Management unpublish all non-core plugins. All of this will ensure all possible conflicts are out of the way to allow for a smooth upgrade. Issues are typically happening due to something loading legacy CB API before CB 2.x API loads during install, which results in a conflict.


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.

  • EPICweb
  • EPICweb
  • OFFLINE
  • Posts: 35
  • Thanks: 12
  • Karma: 1
9 years 2 weeks ago #271983 by EPICweb
For laughs, I uninstalled CB on my local installation. Installed 2.0.11 and it went without a hitch. I have my members up to Oct 8 when I did my download to create the backup. I also have my lists.

Now I'm updating CBSubs.

Looks like uninstalling/installing is an option if you can't figure out the issue.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 2 weeks ago - 9 years 2 weeks ago #271995 by nant

EPICweb wrote: For laughs, I uninstalled CB on my local installation. Installed 2.0.11 and it went without a hitch. I have my members up to Oct 8 when I did my download to create the backup. I also have my lists.

Now I'm updating CBSubs.

Looks like uninstalling/installing is an option if you can't figure out the issue.


Well unistalling CB will automatically disable all its plugins ;-)

but you will have to reinstall them !
Last edit: 9 years 2 weeks ago by nant.

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

  • EPICweb
  • EPICweb
  • OFFLINE
  • Posts: 35
  • Thanks: 12
  • Karma: 1
9 years 2 weeks ago #272052 by EPICweb
Yep. Reinstalling the plugins went without a hitch. I didn't find a CBSubs GB English plugin to replace the one I have, though. It's not in the zip file nor did I see it on the language listings in Forge and Transiflex.

There are actually two language plugins for CBSubs (should I start a new thread?), one for GB English and one that just says English. My Joomla default language is GB English. The display looks fine so I'm not worried, but thought I'd ask.

Have I told you that you guys rock? ;-)
The following user(s) said Thank You: krileon

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 2 weeks ago - 9 years 1 week ago #272060 by nant

EPICweb wrote: Yep. Reinstalling the plugins went without a hitch. I didn't find a CBSubs GB English plugin to replace the one I have, though. It's not in the zip file nor did I see it on the language listings in Forge and Transiflex.

There are actually two language plugins for CBSubs (should I start a new thread?), one for GB English and one that just says English. My Joomla default language is GB English. The display looks fine so I'm not worried, but thought I'd ask.

Have I told you that you guys rock? ;-)


Latest CBSubs english plugin is here:
forge.joomlapolis.com/attachments/download/3079/cbplug_lang_cbsubs_en-GB-4.0.1.1.zip

Please note that you only need to install an English language plugin (for CB or CBSubs) only if you intend to make changes to default strings.

If you do not install then default strings (which are in English) will be displayed just fine.
Last edit: 9 years 1 week ago by krileon.
The following user(s) said Thank You: EPICweb

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

Moderators: beatnantkrileon
Powered by Kunena Forum