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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Error with stats

More
16 years 5 months ago - 16 years 5 months ago #32387 by cendres2lune
Hello !!


I need help to repear my forum.

Recently I have noticed that the counter of my forum are all to zero. only new topics are counted. (May be because of the update to kunena 1.5.6)



I have tried to use the "recount cathegory stats" button but it is not working (after 1 minute, only a blank page with these 3 chars  are loaded.)

How can I fix this?
Last edit: 16 years 5 months ago by cendres2lune.

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

More
16 years 5 months ago #32452 by xillibit
Replied by xillibit on topic Re:Error with stats

I don't provide support by PM, because this can be useful for someone else.

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

More
16 years 5 months ago #32497 by cendres2lune
Replied by cendres2lune on topic Re:Error with stats
I have tried this followed queries

the first is correctly working.
the querry :

INSERT INTO jos_fb_categories (id, numTopics, numPosts)
SELECT m.catid, SUM( m.parent=0 ), SUM( m.parent>0 )
FROM jos_fb_messages as m
LEFT JOIN jos_fb_categories AS c ON c.id=m.catid
WHERE m.catid >0 AND m.hold=0
GROUP BY catid
ON DUPLICATE KEY UPDATE numTopics=VALUES(numTopics), numPosts=VALUES(numPosts);

have 3 errors :
"field description doesnt have a default value"
"field headerdesc doesnt have a default value"
and
"field class_sfx doesnt have a default value"

and the querry :

INSERT INTO jos_fb_categories (id, numTopics, numPosts)
SELECT parent, SUM( numTopics ), SUM( numPosts )
FROM jos_fb_categories
WHERE parent > 0
GROUP BY parent
ON DUPLICATE KEY UPDATE numTopics=VALUES(numTopics), numPosts=VALUES(numPosts);

have 3 errors :
"field description doesnt have a default value"
"field headerdesc doesnt have a default value"
and
"field class_sfx doesnt have a default value"

Help !

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

More
16 years 5 months ago #33127 by Matias
Replied by Matias on topic Re:Error with stats
You seem to have orphan messages (with deleted category). I didn't expect that in my queries.. :)

What do you want to do with those messages?

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

Time to create page: 0.237 seconds