Skip to Content Skip to Menu

issue with CB Forum (Kunena version 7.x)

  • cbrace
  • cbrace
  • ONLINE
  • Posts: 68
  • Thanks: 5
  • Karma: 1
2 hours 32 minutes ago - 2 hours 31 minutes ago #343447 by cbrace
If CB Forum is enabled and I got a user I get the following error. Dont think its available for Kunena 7 yet? An error has occurred.Undefined constant "Kunena\Forum\Libraries\Factory\KPATH_SITE" .../libraries/kunena/src/Factory/KunenaFactory.php:213
Code:
208 static $loaded = []; 209 KunenaProfiler::getInstance() ? KunenaProfiler::instance()->start('function ' . __CLASS__ . '::' . __FUNCTION__ . '()') : null; 210 211 if ($client == 'site') { 212 $lookup1 = JPATH_SITE; 213 $lookup2 = KPATH_SITE; 214 } else { 215 $client = 'admin'; 216 $lookup1 = JPATH_ADMINISTRATOR; 217 $lookup2 = JPATH_ADMINISTRATOR . '/components/com_kunena'; 218 }
Last edit: 2 hours 31 minutes ago by cbrace. Reason: additional log

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50215
  • Thanks: 8597
  • Karma: 1470
2 hours ago #343449 by krileon
Replied by krileon on topic issue with CB Forum (Kunena version 7.x)
Sounds like Kunena's API changed again. Am looking into this now. Thank you for letting us know!


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: cbrace

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50215
  • Thanks: 8597
  • Karma: 1470
1 hour 52 minutes ago #343450 by krileon
Replied by krileon on topic issue with CB Forum (Kunena version 7.x)
Was unable to confirm on a clean Joomla 6.x + Kunena 7.x + CB. Also confirmed Kunena 7.x still has KPATH_SITE.

Your error is coming from within Kunena itself and not CB. Please enable debug mode and maximum error reporting in Joomla global configuration. Once done retry causing your issue. Then provide the full callstack that Joomla should output. This will help see where the issue is coming from exactly.


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.

  • cbrace
  • cbrace
  • ONLINE
  • Posts: 68
  • Thanks: 5
  • Karma: 1
1 hour 32 minutes ago #343451 by cbrace
Replied by cbrace on topic issue with CB Forum (Kunena version 7.x)
see attachment
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50215
  • Thanks: 8597
  • Karma: 1470
31 minutes ago #343453 by krileon
Replied by krileon on topic issue with CB Forum (Kunena version 7.x)
Ok, your issue itself is coming from within Kunena. CB is just calling Kunena. Seams for whatever reason Kunena's constants are missing. Please be sure with System > Manage > Plugins that the following are public and published.

System - Kunena Forum
Kunena - Kunena Integration
Kunena - Community Builder Integration

Next within System > Manage > Extensions ensure the following are enabled.

Kunena Forum
Kunena Framework

Finally navigate to Components > Kunena Forum > Tools and run the Diagnostics tool to see if Kunena can find any issues. If your issue still persists I recommend installing Kunena again over the top of itself to be sure it installed properly. If still persisting I recommend posting on the Kunena forums.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum