Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question search not showing category name, subject and link to the actual post

More
2 years 4 weeks ago - 2 years 4 weeks ago #232394 by rwillems
Something odd happening here, not using any template overrides. The search just doesnt show the actual information of a topic anymore. How to debug this issue? It's a private forum.
Code:
<?php /**  * Kunena Component  *  * @package         Kunena.Template.Aurelia  * @subpackage      Layout.Search  *  * @copyright       Copyright (C) 2008 - @currentyear@ Kunena Team. All rights reserved.  * @license         https://www.gnu.org/copyleft/gpl.html GNU/GPL  * @link            https://www.kunena.org  **/ defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Factory\KunenaFactory; use Kunena\Forum\Libraries\Forum\Message\KunenaMessage; use Kunena\Forum\Libraries\Icons\KunenaIcons; use Kunena\Forum\Libraries\Template\KunenaTemplate; use Kunena\Forum\Libraries\User\KunenaUserHelper; $message              = $this->message; $topic                = $message->getTopic(); $category             = $topic->getCategory(); $author               = $message->getAuthor(); $isReply              = $message->id != $topic->first_post_id; $config               = KunenaFactory::getConfig(); $name                 = $config->username ? $author->username : $author->name; $me                   = isset($this->me) ? $this->me : KunenaUserHelper::getMyself(); $this->ktemplate      = KunenaFactory::getTemplate(); $subjectlengthmessage = $this->ktemplate->params->get('SubjectLengthMessage', 20); ?> <div id="kunena_search_results" class="row">     <div class="col-md-2 text-center">         <ul class="list-unstyled text-center profilebox">             <li>                 <strong><?php echo $author->getLink(null, null, 'nofollow', '', null, $topic->getCategory()->id); ?></strong>             </li>             <li><?php echo $author->getLink($author->getAvatarImage(KunenaFactory::getTemplate()->params->get('avatarType'), 'post')); ?></li>         </ul>     </div>     <div class="col-md-10">         <small class="text-muted float-end d-none d-sm-inline-block" style="margin-top:-5px;"> <?php echo KunenaIcons::clock(); ?> <?php echo $message->getTime()->toSpan(); ?><?php if ($message->modified_time) : ?> - <?php echo KunenaIcons::edit() . ' ' . $message->getModifiedTime()->toSpan(); ?>         <?php endif; ?></small>         <div class="badger-left badger-info <?php if ($message->getAuthor()->isModerator()) : ?> badger-moderator <?php endif; ?> message-<?php echo $message->getState(); ?> khistory">             <div class="mykmsg-header alert alert-secondary">                 <?php                 $title   = KunenaMessage::getInstance()->getsubstr($this->escape($message->subject), 0, $subjectlengthmessage);                 $langstr = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW';                 echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, $message, null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false)); ?>             </div>             <div class="kmessage">                 <?php if (!$isReply) :                     echo $message->displayField('message');                 else :                     echo (!$me->userid && $config->teaser) ? Text::_('COM_KUNENA_TEASER_TEXT') : $this->message->displayField('message');                 endif; ?>             </div>         </div>     </div> </div>
Last edit: 2 years 4 weeks ago by rwillems. Reason: adding the code

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

More
2 years 4 weeks ago #232395 by Pinkeltje
Can you reproduce the problem in this forum?

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

More
2 years 4 weeks ago #232400 by rwillems
No that is the weird thing, I have done some testing here and it works fine. However on my own install it does not. In the configuration reporting I couldnt find anything odd as well.

Is there a code I could use to debug more?

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

More
2 years 4 weeks ago #232401 by Pinkeltje
Maybe with Kunena debug enabled?
Or post your report configuration here.

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

More
2 years 4 weeks ago #232410 by rwillems
This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 300 seconds | Max execution memory: 512M | Max file upload:

Kunena menu details:

Warning: Spoiler!

Joomla default template details : g5_epsilon | author: RocketTheme, LLC | version: 2.5.0 | creationdate: December 17, 2021

Kunena default template details : Aurelia | author: Kunena Team | version: 6.3.6 | creationdate: 2024-10-28

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 6.3.6 | 2024-10-28 [ Git Repository ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: CommunityBuilder 2.9.3+build.2024.10.02.18.57.11.f6795ce5a

Third-party SEF components: None

Plugins: None

Modules: None

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

More
2 years 4 weeks ago #232420 by Pinkeltje
Only thing I can think of is a problem with your menu.

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

Time to create page: 0.160 seconds