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 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 category recount problem

More
17 years 1 month ago #30365 by begemot
hi, after i deleted one thread, the numbers under "topics" and "replies" became 0.

I tried to use the "recount category stats" options, but it gave me

Fatal error: Maximum execution time of 60 seconds exceeded


so, I increased the set_time_limit from class.kunena.php to 180, 300, etc, but it still gave me the same error. Over 300 it just gives me:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.


i contacted my host, but they told me that it must be an error in my script.

i'm using joomla 1.5.13, kunena 1.5.5. and PHP Version 5.2.10

what can I do? thanks in advance

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

More
17 years 1 month ago #30370 by xillibit
Hello,

See in your apache log or in your log of your server if there are errors after use the function : "recount category 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
17 years 1 month ago #30396 by Matias
Replied by Matias on topic Re: category recount problem
If you do not have subcategories (just sections and cats in there), try to run these queries:

INSERT INTO jos_fb_users (userid, posts) SELECT userid, COUNT(userid)
FROM jos_fb_messages
WHERE userid>0 AND hold=0
GROUP BY userid
ON DUPLICATE KEY UPDATE posts=VALUES(posts);

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);

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);

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

More
17 years 1 month ago - 17 years 1 month ago #30484 by begemot
Replied by begemot on topic Re:category recount problem
thank you, Matias, that solved my problem :)
Last edit: 17 years 1 month ago by begemot.

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

Time to create page: 0.110 seconds