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 Unable to save result set

More
15 years 6 months ago #94494 by chaosuk
OK, so as it says in the title, getting this rather annoying fault report coming up, everything was working fine yesterday, no changes have been made, but now it's throwing this error - any ideas please as having looked through the forum here I haven't found a solution.

This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Enabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 64M | Max file upload: 64M

This message contains confidential information

Joomla default template details : jsn_dome_free | author: JoomlaShine.com | version: 2.0.1 | creationdate: November 2010

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.6.3 | creationdate: 2011-01-31

Kunena version detailled: Installed version: 1.6.3 | Build: 4344 | Version name: Parlare | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: AlphaUserPoints: Disabled or not installed | CommunityBuilder: Installed (Version : 1.3.1) | Jomsocial: Disabled or not installed | UddeIm: Installed (Version : 2.1)

Third-party SEF components: sh404sef: Disabled or not installed | ARTIO JoomSEF: Installed (Version : 3.7.5) | AceSEF: Disabled or not installed

Plugins: System - Mootools12: Disabled | System - Mootools Upgrade: Enabled | JFirePHP: Disabled or not installed | Kunena Discuss: Disabled or not installed | Kunena Search: Disabled or not installed | My Kunena Forum Menu: Disabled or not installed | My Kunena Forum Posts: Disabled or not installed

Modules: Kunena Latest: Enabled (Version : 1.6.0-RC2) | Kunena Stats: Disabled or not installed | Kunena Login: Disabled or not installed


And before anyone mentions the legacy mode, this isn't for anything that is working with Kunena and has never caused an issue before, furthermore, turning it off makes no difference.

Debug shows the following:

500 - JDatabaseMySQL::query: 5 - Out of memory (Needed 8388580 bytes) SQL=SELECT c.*, m.id AS mesid, m.thread, m.catid, t.subject AS topicsubject, m.subject, m.name AS mname, u.id AS userid, u.username, u.name AS uname, (SELECT COUNT(*) FROM jos_kunena_messages AS mm WHERE m.thread=mm.thread) AS msgcount, (SELECT COUNT(DISTINCT thread) FROM jos_kunena_messages AS mmm WHERE c.id=mmm.catid AND mmm.hold='0' AND mmm.time>'1304971232' AND mmm.thread NOT IN (0)) AS new FROM jos_kunena_categories AS c LEFT JOIN jos_kunena_messages AS m ON c.id_last_msg=m.id LEFT JOIN jos_kunena_messages AS t ON m.thread=t.id LEFT JOIN jos_users AS u ON u.id=m.userid WHERE c.parent IN (506,505,508,518,507) AND c.published='1' AND c.id IN(506,505,508,507,1,2,7,4,5,6,8,9,509,510,511,512,513,514,515,516,517,518,519,521,525) ORDER BY ordering, name

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

More
15 years 6 months ago #94507 by xillibit
Hello,

You need to update everything (almost) : joomla to 1.5.23, kunena to 1.6.4 and kunena lastest to latest version

You seem to have a low level a memory on your hosting space

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
15 years 6 months ago #94541 by chaosuk
Ok, appreciate that the various bits may need upgrading, but why has this suddenly started happening, it was working fine yesterday and has been since installation??

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

More
15 years 6 months ago #94554 by sozzled
If turning off legacy mode makes no difference why do you have legacy mode enabled in the first place? :dry:

Please upgrade to K 1.6.4, CB 1.4 and all other Joomla extensions to their most recent versions (including J! 1.5.23) to see if these things make a difference.

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

More
15 years 6 months ago #94588 by chaosuk

sozzled wrote: If turning off legacy mode makes no difference why do you have legacy mode enabled in the first place? :dry:

Please upgrade to K 1.6.4, CB 1.4 and all other Joomla extensions to their most recent versions (including J! 1.5.23) to see if these things make a difference.


Hiya,

Legacy is enabled for one component that was never upgraded to J1.5 and was/is something that a large part of the community wished to keep, if someone ever takes the project on an rewrites it for J1.5 or 1.6 we'll happily swap it over.

Have now upgraded everything and whilst the old error message is now gone it seems, we do have another one:
Code:
components/com_kunena/funcs/showcat.php on line 123

Latest config report:

This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Enabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 64M | Max file upload: 64M

This message contains confidential information

Joomla default template details : jsn_dome_free | author: JoomlaShine.com | version: 2.0.1 | creationdate: November 2010

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.6.4 | creationdate: 2011-05-07

Kunena version detailled: Installed version: 1.6.4 | Build: 4832 | Version name: Kerkrade | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: CommunityBuilder 1.4 | UddeIm 2.1

Third-party SEF components: ARTIO JoomSEF 3.7.5

Plugins: System - Mootools Upgrade: Enabled | System - Mootools12: Disabled

Modules: Kunena Latest 1.6.4

500 - JDatabaseMySQL::query: 5 - Out of memory (Needed 8388580 bytes) SQL=SELECT a.*, j.id AS userid, t.message AS message, l.myfavorite, l.favcount, l.attachments, l.msgcount, l.lastid, l.lastid AS lastread, 0 AS unread, j.username, j.name AS uname, u.avatar, c.id AS catid, c.name AS catname, c.class_sfx FROM ( SELECT m.thread, MAX(f.userid='62') AS myfavorite, COUNT(DISTINCT f.userid) AS favcount, COUNT(a.mesid) AS attachments, COUNT(DISTINCT m.id) AS msgcount, MAX(m.id) AS lastid, MAX(m.time) AS lasttime FROM jos_kunena_messages AS m LEFT JOIN jos_kunena_favorites AS f ON f.thread = m.thread LEFT JOIN jos_kunena_attachments AS a ON a.mesid = m.thread WHERE m.hold IN (0,1,2,3) AND m.thread IN (98099,95360,88196,98527,99000,99163,99197,99172,99185,99004,99072,99077,99033,98960,98872,98717,98798,98608,98799,98823) GROUP BY thread ) AS l INNER JOIN jos_kunena_messages AS a ON a.thread = l.thread INNER JOIN jos_kunena_messages_text AS t ON a.thread = t.mesid LEFT JOIN jos_users AS j ON j.id = a.userid LEFT JOIN jos_kunena_users AS u ON u.userid = j.id LEFT JOIN jos_kunena_categories AS c ON c.id = a.catid WHERE (a.parent='0' OR a.id=l.lastid) ORDER BY ordering DESC, lastid DESC


When this error was sent to the host, they responded with the following:

This query needs to be changed, removed, replaced, or the tables which it queries need to be pruned. Attempting to run the query, as root, requires more memory than we allow a single process to use. This is a query that is attempting to use more memory than allowed and needs to be rewritten or the tables it queries need to be pruned to return a smaller data set.


Any suggestions please?

Thanks in advance

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

More
15 years 6 months ago #94589 by sozzled
The out-of-memory error could mean exactly that: the mix of components, module, plugins, templates, languages, etc., installed on your site and loaded when you view you Kunena pages might be too large for your site without increased memory. However, 64 Mb is a "reasonable" amount for everyday, typical websites.

Without knowing what other Joomla extensions your have installed and are loaded when you try to use Kunena (and your forum is offline so we can't actually see what's going on for ourselves) there's not a lot we can do. Your webhost's advice is more-or-less correct but it's really tough knowing why the Kunena SQL query (added to all the other SQL queries that might be running simultaneously) seems to have tipped the scales over.

Suggestions: Use the opportunity to decide whether you need all the Joomla extensions you are using or whether you can live without some of them. The J! 1.0 extension that you are using (that requires you to use J! 1.5. is the first thing that would be on my short-list of candidates. J! 1.0 extensions were notoriously inefficient with website memory management. But, it's your site and you have to weigh up what are your priorities.

Start disabling, one by one, other extensions. Start by disabling other modules that appear on your Kunena pages.

If, however, you are unable to resolve this yourself then I would suggest that you look for a reputable specialist to diagnose and make their recommendations what to do next. There is usually a payment involved for these kinds of services.

Good luck. I can't think of anything else that's immediately obvious to me. Perhaps someone else has a few ideas.

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

Time to create page: 0.169 seconds