Kunena 6.3.8 Released

The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

Solved A glitch in the number of posts in the topic

More
6 months 2 weeks ago - 6 months 2 weeks ago #1 by lemur
Hallo alle,

When editing one of the posts in a topic , the following situation occurred.

1. I don't know if it matters, but I've made changes to the post several times in a row and memorized them.

2. At some point, I saw that instead of the remembered post, the editing form with the post was still displayed on the computer screen.

3. I began to look at the screen and saw a message at the top above the editing form: "Data too long for column 'last_post_message' at row 1". 

4. Repeated attempts to edit and close the post led to the same result.
Thank God, when opening the topic again, it turned out that all the changes were preserved.

5. However,
a) the number of posts in the topic has not changed (that is, the new post has not been taken into account
b) When clicking on the "Last" button on the Forum -> Recent Topics page, the move takes place to the previous post (which has not had a problem yet).

How can I fix this situation, or is it a bug in the program?

Thanks

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: 30 seconds | Max execution memory: 256M | Max file upload:  

Kunena menu details:

Warning: Spoiler!

Joomla default template details : purity_III | author: JoomlArt.com | version: 2.1.1 | creationdate: March 28th, 2024

Kunena default template details : Aurelia | author: Kunena Team | version: 6.3.2 | creationdate: 2024-06-14

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 6.3.2 | 2024-06-14 [ 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.2

Third-party SEF components: None

Plugins: Content - Kunena Discuss 6.0.5

Modules: Kunena Latest 6.0.7 | Kunena Stats 6.0.5 | Kunena Search 6.0.5

 

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.
Last edit: 6 months 2 weeks ago by lemur.

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

More
6 months 2 weeks ago - 6 months 2 weeks ago #2 by lemur
It would probably be correct to title this topic:
"It is impossible to finish editing the post."
Excuse me

...
P.S. The ability to edit posts in this Kunena forum has disappeared somewhere. Maybe there is a limited time during which this is possible?

Therefore, here is an addition to the starting post:
In the topic with which the problem occurred, there are 22 posts in total, and the Recent Topics page shows that there are 19 answers.

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.
Last edit: 6 months 2 weeks ago by lemur.

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

More
6 months 2 weeks ago #3 by Pinkeltje
Have you tried to recount statistics and run diagnostics?

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

More
6 months 2 weeks ago #4 by rich
It must be an extremely long text. If you then edit it, you will probably add a lot more, so that the character limit is exceeded. It might help if you change the value of the columns last_post_message and first_post_message in the table #__kunena_topics from TEXT to LONGTEXT.


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

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

More
6 months 2 weeks ago #5 by lemur
Thank you.

No, I was afraid to do this, so as not to spoil the data for the Kunena-Team.

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.

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

More
6 months 2 weeks ago - 6 months 2 weeks ago #6 by lemur

It must be an extremely long text. If you then edit it, you will probably add a lot more, so that the character limit is exceeded.
Thank you. This post is no longer than the others in this topic. The only new thing I can point out is that I've used the "Undo" button quite a few times. Maybe it affects the character limit?

As for the advice:
"It might help if you change the value of the columns last_post_message and first_post_message in the table #__kunena_topics from TEXT to LONGTEXT.

I can try to do that.
But won't these parameters change after an update?
Maybe it's worth doing this at the level of your programs?

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.
Last edit: 6 months 2 weeks ago by lemur.

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

More
6 months 2 weeks ago - 6 months 2 weeks ago #7 by Pinkeltje

Maybe it's worth doing this at the level of your programs?

The field can contain huge amount of characters, enough for normal forum use.

The standard 

Code:
TEXT
 data object is sufficiently capable of handling typical long-form text content. TEXT data objects top out at 64 KB (expressed as 2^16 -1) or 65,535 characters

Looking at your "forum" it seems that you are using it as a sort of blog.
Last edit: 6 months 2 weeks ago by Pinkeltje.

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

More
6 months 2 weeks ago #8 by Pinkeltje

Maybe it's worth doing this at the level of your programs?

The field can contain huge amount of characters, enough for normal forum use.

The standard TEXT data object is sufficiently capable of handling typical long-form text content. TEXT data objects top out at 64 KB (expressed as 2^16 -1) or 65,535 characters

Looking at your "forum" it seems that you are using it as a sort of blog.

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

More
6 months 2 weeks ago #9 by lemur

TEXT data objects top out at 64 KB (expressed as 2^16 -1) or 65,535 character


You have ambiguity in the word "character", so for Russian and many other languages, a letter can take up two or more bytes. So the capacity of TEXT data for the Russian part of my site is almost half that.

Pinkeltje post=231694 userid=31071

Looking at your "forum" it seems that you are using it as a sort of blog.

This remark is unclear to me, as it is an explicit off-top. Nevertheless, I will answer that more than a hundred users participate in the work of the "forum" in the German and Russian-speaking parts of the site and they discuss with each other on different topics. So the word "blog" is not appropriate.
If you mean the wrong choice of Kunena as a platform, then I can inform you that the choice took place in those blessed times when it was possible to choose a tree structure in the Kunena template, which of course is best suited for a popular science forum. Unfortunately, this option has disappeared over time.
This led to some outflow of users, but I am still very grateful to the Kunena developers for their work and for their very attentive attitude to the problems that arise by users of the Kunena platform.

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.

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

More
6 months 2 weeks ago #10 by lemur

Have you tried to recount statistics and run diagnostics?

I have done recount statistics. I received a message:

Exception throw at line 442 in file /.../libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php with message Data too long for column 'last_post_message' at row 368


After "run diagnostics", in all lines there is "No errors found!".

BUT!
The information about the number of posts in the topic, given in the first and second posts of this topic

5. However,
a) the number of posts in the topic has not changed (that is, the new post has not been taken into account
b) When clicking on the "Last" button on the Forum -> Recent Topics page, the move takes place to the previous post (which has not had a problem yet).

In the topic with which the problem occurred, there are 22 posts in total, and the Recent Topics page shows that there are 19 answers.

remained unfortunately valid.
----

How can I react to the message:
Exception throw at line 442 in file /.../libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php with message Data too long for column 'last_post_message' at row 368


Thanks
 

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.

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

Time to create page: 0.418 seconds