Kunena 6.2.4 Released

The Kunena team has announce the arrival of Kunena 6.2.4 [K 6.2.4] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Solved View kunena menu-items on joomla 5 give 3 items a error

More
3 months 4 weeks ago #1 by Leen
When I want to view the Kunena 6.2 menu item in Joomla 5, an error message appears.
Search > give An error has occurred.  
   0 You must specify a non-empty path to clean

Profile > give An error has occurred.
   0 You must specify a non-empty path to clean

Unread > give An error has occurred.
    0 You must specify a non-empty path to clean

L.v.d.A
Attachments:

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

More
3 months 4 weeks ago - 3 months 4 weeks ago #2 by Gindi
With Joomla 5.0.0 and Kunena 6.2.0 I can't reproduce these errors unfortunately.
When I click on all menu items one after the other on the user page in the forum, everything is displayed perfectly.
Was it a fresh J5.0.0 installation or an update from J4.4.0 ?

Gindi
 
Last edit: 3 months 4 weeks ago by Gindi. Reason: Frage

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

More
3 months 4 weeks ago - 3 months 4 weeks ago #3 by Leen
i have kunena 6.2.0 2023-10-17  PHP Version 8.1.14
Have the menu rebuilt via tools
but problem still persists here

L.v.d.A
Attachments:
Last edit: 3 months 4 weeks ago by Leen.

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

More
3 months 4 weeks ago - 3 months 4 weeks ago #4 by Gindi
But that does not answer my question:
Was it a fresh install of J5.0.0 or an update from J4.4.0?

I had a backup of my livesite on J4.4.0 and then did an update to J5.0.0.
Thereby two database errors were displayed. One error I could fix with "repair".
The second error said: The table "'jom5_schemaorg'" does not exist. (From file: „5.0.0-2023-07-25.sql“.
I then found the table in Joomla 5.0.0-RC and copied it.
Maybe it has something to do with this?

Gindi
 
Last edit: 3 months 4 weeks ago by Gindi.

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

More
3 months 4 weeks ago #5 by Leen
Sorry Gindi, I overlooked the rest of your question
But for me it was an updated site for 4.4.0
but later I also tested locally on PC
by uninstalling kunena completely or reinstalling it
and the problem remains there too.
Will now do another completely clean installation of Joomla and Kunena

L.v.d.A

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

More
3 months 4 weeks ago #6 by Leen
Okay, I installed everything clean, but the 3 menu items continue to cause the problem.
However, when Maintenance: Global Check-in is output, they are fixed again until I want to edit them again

L.v.d.A
Attachments:

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

More
3 months 4 weeks ago #7 by Gindi
Now I understand what you mean, I thought you were writing about the forum menu in the frontend but you mean the menu in the backend.
I can confirm this error!

I have noticed that with me the same error occurs with "unread", with "profile" and with "search".
The errors occur only with Joomla 5, with Joomla 4.4.0 everything is fine.
I have also compared the order of the menu entries in the side menu at menu. With Joomla 4.3.4 and with Joomla 4.4.0 the order is identical. With Joomla 5.0.0 the order is exactly opposite.
The following user(s) said Thank You: Leen

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

More
3 months 4 weeks ago #8 by Gindi
I have now found where the error message is coming from. It is the file /libraries/vendor/joomla/filesystem/src/Path.php
From row 191 - 217 it says:
    public static function clean($path, $ds = \DIRECTORY_SEPARATOR)
    {
        if (!\is_string($path)) {
            throw new \InvalidArgumentException('You must specify a non-empty path to clean');
        }

        $stream = explode('://', $path, 2);
        $scheme = '';
        $path = $stream[0];

        if (\count($stream) >= 2) {
            $scheme = $stream[0] . '://';
            $path = $stream[1];
        }

        $path = trim($path);

        // Remove double slashes and backslashes and convert all slashes and backslashes to DIRECTORY_SEPARATOR.
        // If it is a UNC path, don't forget to prefix the path with a backslash.
        if (($ds == '\\') && ($path[0] == '\\') && ($path[1] == '\\')) {
            $path = '\\' . preg_replace('#[/\\\\]+#', $ds, $path);
        } else {
            $path = preg_replace('#[/\\\\]+#', $ds, $path);
        }

        return $scheme . $path;
    }

Maybe you would have to ask the Joomla people what is going wrong.

Gindi
 
The following user(s) said Thank You: rich

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

More
3 months 3 weeks ago #9 by rich
I cannot reproduce this error, however I am already using Joomla 5.0.1-dev. Maybe something has been changed in the meantime.

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

More
3 months 3 weeks ago - 3 months 3 weeks ago #10 by Gindi
I have now downloaded Joomla 5.0.1-dev and installed it over Joomla 5.0.0.
The described error is also present in Joomla 5.0.1-dev.
 

The path to error:
Joomla 5.0.0 or 5.0.1-dev Sidepanel
1. select menus
2. select kunena menu
In Menus: Entries (Kunena Menu)
3. select unread or profile or search
The error is displayed.

gindi
 
Last edit: 3 months 3 weeks ago by Gindi.

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

Time to create page: 0.412 seconds