×
Kunena 5.1 RC 3 Released (16 Feb 2018)

The Kunena team is proud to announce the arrival of Kunena 5.1.0 RC3 [K 5.1.0] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a RC release.

× This section is for questions directly related to the procedure for installing Kunena for the first time or upgrading from an older version of Kunena.

Use this category:
  • to ask how to install or upgrade; or
  • if you encountered problems during the installation or upgrade procedure.

Use a different category to ask questions about problems that you may be having after you successfully installed or upgraded the currently supported version. If you are unsure what is the current supported version of Kunena, please go to the download page.

Question Kunena Forum not found (class)

More
2 months 3 weeks ago #11 by anibal.sanchez
anibal.sanchez replied the topic: Kunena Forum not found (class)
Hi,

Thank you for reporting. The plugin has a dependency on Kunena.

To avoid the message during installation of Kunena, we recommend disabling the plugin in the process to upgrade, or simply ignore it until the installation is completed.

We can't remove the checkup since it prevents the execution of the plugin when Kunena is no longer installed.

Best Regards

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

More
2 months 3 weeks ago #12 by ruud
ruud replied the topic: Kunena Forum not found (class)
No need to remove the checkup, just to remove the (JError is deprecated) error messages. (in the code below I have commented them out)
These add no value (other then visual messages on both back-end and front-end).

file: ./plugins/system/autotweetkunena/autotweetkunena.php
		// Check if Kunena API exists
		$api = JPATH_ADMINISTRATOR . '/components/com_kunena/api.php';
 
		if (!is_file($api))
		{
			$logger = AutotweetLogger::getInstance();
			$logger->log(JLog::ERROR, 'Kunena Forum not found (api)');
 
			// JError::raiseWarning('5', 'Kunena Forum not found (api)');
 
			return;
		}
 
		jimport('joomla.application.component.helper');
 
		// Check if Kunena component is installed/enabled
		if (!JComponentHelper::isEnabled('com_kunena', true))
		{
			$logger = AutotweetLogger::getInstance();
			$logger->log(JLog::ERROR, 'Kunena Forum not found (component)');
 
			// JError::raiseWarning('5', 'Kunena Forum not found (component)');
 
			return;
		}
 
		// Load Kunena API
		require_once $api;
 
		// Do not load if Kunena version is not supported or Kunena is not installed
		if (!(class_exists('KunenaForum') && KunenaForum::isCompatible('3.0') && KunenaForum::installed()))
		{
			$logger = AutotweetLogger::getInstance();
			$logger->log(JLog::ERROR, 'Kunena Forum not found (class)');
 
			// JError::raiseWarning('5', 'Kunena Forum not found (class)');
 
			return;
		}

sharing = caring
The following user(s) said Thank You: Cyrusxxxx

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

More
2 months 3 weeks ago #13 by anibal.sanchez
anibal.sanchez replied the topic: Kunena Forum not found (class)
Hi,
Yes, that's where the warning message that we are currently showing.
In the future, we'll replace the JError call with JFactory::getApplication()->enqueueMessage ..., but the warning message will remain since we need to alert users when the plugin is enabled and Kunena is no longer installed.

Best Regards,

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

More
2 months 3 weeks ago #14 by ruud
ruud replied the topic: Kunena Forum not found (class)
Cool,
just for the sake of argument: I am the user. I have had this message already for a long time. I had no clue as to what it means and what it does / doesn't do. So I just crossed my fingers and ignored it. It turns out now that ignoring is good as nothing breaks.
That is why I say that the messages are useless :)
To make it 'worse', the message also shows on the front end. Therefor it is not only showing to me (in the back-end) but to every user who knows even less what these messages mean.

The message is also logged into the log files, I think that should be enough.
If you want to keep the visual warnings: please make them so they are actually informative. Restrict them to showing up on back-end only. Tell the user something like: "The Autotweetplugin requires Kunena to be installed and enabled. If you are updating Kunena you can ignore this message"

You could even extend you component check page: Plugin enabled but component not found indicator.

just my 2ct :)

sharing = caring
The following user(s) said Thank You: Cyrusxxxx

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

More
2 months 3 weeks ago #15 by anibal.sanchez
anibal.sanchez replied the topic: Kunena Forum not found (class)
Sure, I'm improving the message with your suggestion.

Regards,
Anibal

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.076 seconds