Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

This category is for K 1.7 issues only.

Question Duplicate entry at jos_kunena_messages - Upgrade from 1.5.12

More
15 years 8 months ago #59383 by poliscas
A command like that maybe:

ALTER TABLE `table_name`
CHANGE `column_name` `column_name`
INT(key_length) NOT NULL AUTO_INCREMENT

to all Primary Keys will do the job?

checked DB and all messages are fine before the upgrade, forum is still locked of course..

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

More
15 years 8 months ago #59385 by Matias
You can do it in phpmyadmin easiest. Just delete the old one and create new primary key with the same parameters selected.

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

More
15 years 8 months ago - 15 years 8 months ago #59392 by poliscas
Yes I did that through phpmyadmin. But I think not all kunena tables need auto_incremement primary keys.
Here is what I did (with "-" I mark the tables that did not make any changes to them):

jos_kunena_announcement ==> id ==> auto increment
jos_kunena_attachments ==> mesid ==> auto increment
jos_kunena_attachments_bak ==> mesid ==> auto increment
jos_kunena_categories ==> id ==> auto increment
jos_kunena_config -
jos_kunena_config_backup -
jos_kunena_discussbot -
jos_kunena_favorites -
jos_kunena_groups ==> id ==> auto increment
jos_kunena_messages ==> id ==> auto increment
jos_kunena_messages_text ==> id ==> auto increment
jos_kunena_moderation -
jos_kunena_polls ==> id ==> auto increment
jos_kunena_polls_options ==> id ==> auto increment
jos_kunena_polls_users -
jos_kunena_ranks ==> id ==> auto increment
jos_kunena_sessions -
jos_kunena_smileys ==> id ==> auto increment
jos_kunena_subscriptions -
jos_kunena_subscriptions_categories -
jos_kunena_thankyou -
jos_kunena_users -
jos_kunena_users_banned -
jos_kunena_version -
jos_kunena_whoisonline -
Last edit: 15 years 8 months ago by poliscas.

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

More
15 years 8 months ago #59396 by poliscas
Yup, that did the trick. I posted some messages and all works fine.

Thank you very much for all the help.

Please mark this thread as solved.

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

More
15 years 8 months ago #59444 by Matias
Yes, you're right. Not all of them even have primary key -- some of them have just unique keys.

Glad that we got this one shorted out! The problem was the broken J1.0 -> J1.5 migration, which somehow affects only latest versions. No idea why..

I believe that you have the same issue in jos_fb tables..?

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

Time to create page: 0.252 seconds