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.

Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question 7.0.11 (and earlier versions) Error in the editor - saving: Forbidden!

More
2 weeks 3 days ago - 2 weeks 3 days ago #235563 by Pinkeltje
The error is caused by the table still using the MyISAM (or Aria) storage engine, which has a maximum index key length of 1000 bytes. Your alias column is probably still varchar(255). In utf8mb4 that's 255 x 4 = 1020 bytes, which is too long for the unique index on that column. A fresh Kunena installation creates this column as varchar(191) on InnoDB.

Please make a database backup first, then run these steps in phpMyAdmin:

1. Check the engine and column definition:
Code:
SHOW TABLE STATUS LIKE 'ne75k_kunena_aliases'; SHOW FULL COLUMNS FROM `ne75k_kunena_aliases`;

2. Make sure no alias is longer than 191 characters (this should return 0):
Code:
SELECT COUNT(*) FROM `ne75k_kunena_aliases` WHERE CHAR_LENGTH(alias) > 191;

3. Convert the table to InnoDB and fix the column:
Code:
ALTER TABLE `ne75k_kunena_aliases` ENGINE=InnoDB; ALTER TABLE `ne75k_kunena_aliases` MODIFY `alias` varchar(191) NOT NULL; ALTER TABLE `ne75k_kunena_aliases` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

Also check whether other Kunena tables in that database are still on MyISAM (SHOW TABLE STATUS LIKE 'ne75k_kunena%';, column "Engine"). If so, convert them to InnoDB as well before changing their collation. Afterwards, generate a new configuration report and check whether the collation check shows green.
Last edit: 2 weeks 3 days ago by Pinkeltje.
The following user(s) said Thank You: Shuffle

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

More
2 weeks 2 days ago #235567 by Shuffle
Oops—it was probably a mistake to use a copy of an old forum as the foundation for a new website. 
I’ll try to manage your way, but I lack the necessary background knowledge: after entering the first two lines, I immediately got an error message stating that I hadn’t opened a database. So, I need to look up what the correct command should be.
Okay, thanks—but I think this might be beyond me. Still, it’s worth a try. 
Is there another way?
Is it possible to export the current Kunena tables, install a "fresh" version, and then import the tables? That’s something I could probably handle.
Thank you so much for your help!

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

More
2 weeks 2 days ago #235568 by Pinkeltje
First make sure you've openen the correct database before running the query. It should be the one you've backupped before doing anything else.
The following user(s) said Thank You: Shuffle

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

More
2 weeks 1 day ago - 2 weeks 1 day ago #235575 by Shuffle
The error message stating that no database was open was likely caused by a timeout in phpMyAdmin?
The commands for xxx_kunena_aliases were executed.
Under point 2, the result returned is null.

The command
Code:
SELECT TABLE_NAME, ENGINEFROM information_schema.TABLESWHERE TABLE_SCHEMA = DATABASE()  AND ENGINE IN ('MyISAM','Aria');
yields the following result: zero records.
As far as I can tell, the database has now been corrected?
Warning: Spoiler!


Unfortunately, there are still some oddities. For instance, when trying to edit a post, attachments are not removed—even though the corresponding button is clicked. It’s as if nothing happens at all.
Do you have any idea what might be causing this?
Sorry—I suspect this might all stem from the fact that I started out with Fireboard (which later became Kunena) many years ago!

Addendum:
Only the 'Remove all' button responds; however, if you cancel the editing of a post, the attachments are no longer there.
Very strange.
 
Last edit: 2 weeks 1 day ago by Shuffle. Reason: Anhang verschwunden bei Bearbeitungsabbruch

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

More
2 weeks 1 day ago #235578 by rich

Unfortunately, there are still some oddities. For instance, when trying to edit a post, attachments are not removed—even though the corresponding button is clicked. It’s as if nothing happens at all.
Do you have any idea what might be causing this?
Sorry—I suspect this might all stem from the fact that I started out with Fireboard (which later became Kunena) many years ago!

Addendum:
Only the 'Remove all' button responds; however, if you cancel the editing of a post, the attachments are no longer there.
Very strange.

This is probably a bug that I've reported before, but it couldn't be reproduced at the time.

github.com/Kunena/Kunena-Forum/issues/99...uecomment-6560775352

Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: Shuffle

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

More
2 weeks 1 day ago - 2 weeks 19 hours ago #235580 by Shuffle
Hello Rich,
thanks for the heads-up! In that case, there’s no need for me to look into this area of ​​my installation.
I’ll now focus my efforts on two other Kunena installations to clean up their databases.
Thank you all for your help!

Addendum
Thanks to your help, the databases for the other versions are now also (hopefully) up to date and correct.
The lines above, provided by Pinkeltje (thank you!), also had to be used again.
 
Last edit: 2 weeks 19 hours ago by Shuffle.

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

Time to create page: 0.175 seconds