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.

Question Internal Error

More
15 years 9 months ago #85575 by chaosuk
Internal Error was created by chaosuk
Morning all,

woke up this morning to a default 'internal error - please debug' notice on the site, so have searched, done just that and am now including the details in the hope some one can help, note, nothing has been changed since the forum went live so this is completely random.

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 version detailled: Installed version: 1.6.1 | Build: 3858 | Version name: Timu | 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)

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


2 Reports being shown, one on latest topics tab and one on the my topics tab, both below:

LATEST

JDatabaseMySQL::query: 5 - Out of memory (Needed 8388580 bytes) SQL=SELECT a.*, j.id AS userid, t.message, l.myfavorite, l.favcount, l.threadhits, l.lasttime, l.threadattachments, COUNT(aa.id) AS attachments, l.msgcount, l.mycount, l.lastid, l.mylastid, l.lastid AS lastread, 0 AS unread, u.avatar, c.name AS catname, c.class_sfx FROM ( SELECT m.thread, MAX(m.hits) AS threadhits, MAX(f.userid IS NOT null AND f.userid='62') AS myfavorite, COUNT(DISTINCT f.userid) AS favcount, COUNT(DISTINCT a.id) AS threadattachments, COUNT(DISTINCT m.id) AS msgcount, COUNT(DISTINCT IF(m.userid='62', m.id, NULL)) AS mycount, MAX(m.id) AS lastid, MAX(IF(m.userid='62', m.id, 0)) AS mylastid, 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.id WHERE m.hold IN (0,1,2,3) AND m.moved='0' AND m.thread IN (92608,92546,92590,92623,92659,92566,92606,92643,88186,92661,91162,92352,92612,92620,92332,90271,91653,92544,92584,92583) 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.id = 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 LEFT JOIN jos_kunena_attachments AS aa ON aa.mesid = a.id WHERE (a.parent='0' OR a.id=l.lastid ) GROUP BY a.id ORDER BY lastid DESC

Call stack
# Function Location
1 JSite->dispatch() /home/chaos/public_html/jawt/index.php:68
2 JComponentHelper->renderComponent() /home/chaos/public_html/jawt/includes/application.php:124
3 require_once() /home/chaos/public_html/jawt/libraries/joomla/application/component/helper.php:162
4 KunenaApp->__construct() /home/chaos/public_html/jawt/components/com_kunena/kunena.php:850
5 CKunenaLatestX->display() /home/chaos/public_html/jawt/components/com_kunena/kunena.php:549
6 CKunenaLatestX->getLatest() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:683
7 CKunenaLatestX->_common() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:495
8 JDatabaseMySQL->loadObjectList() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:136
9 JDatabaseMySQL->query() /home/chaos/public_html/jawt/libraries/joomla/database/database/mysql.php:458
10 JError->raiseError() /home/chaos/public_html/jawt/libraries/joomla/database/database/mysql.php:231
11 JError->raise() /home/chaos/public_html/jawt/libraries/joomla/error/error.php:171
12 JException->__construct() /home/chaos/public_html/jawt/libraries/joomla/error/error.php:136


My Topics


JDatabaseMySQL::query: 5 - Out of memory (Needed 8388580 bytes) SQL=SELECT a.*, j.id AS userid, t.message, l.myfavorite, l.favcount, l.threadhits, l.lasttime, l.threadattachments, COUNT(aa.id) AS attachments, l.msgcount, l.mycount, l.lastid, l.mylastid, l.lastid AS lastread, 0 AS unread, u.avatar, c.name AS catname, c.class_sfx FROM ( SELECT m.thread, MAX(m.hits) AS threadhits, MAX(f.userid IS NOT null AND f.userid='62') AS myfavorite, COUNT(DISTINCT f.userid) AS favcount, COUNT(DISTINCT a.id) AS threadattachments, COUNT(DISTINCT m.id) AS msgcount, COUNT(DISTINCT IF(m.userid='62', m.id, NULL)) AS mycount, MAX(m.id) AS lastid, MAX(IF(m.userid='62', m.id, 0)) AS mylastid, 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.id WHERE m.hold IN (0,1,2,3) AND m.moved='0' AND m.thread IN (92546,92566,92606,88186,91162,92332,90271,92398,92366,92357,92168,92383,91913,79476,85396,91953,92091,91702,91671,92130) 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.id = 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 LEFT JOIN jos_kunena_attachments AS aa ON aa.mesid = a.id WHERE (a.parent='0' OR a.id=l.lastid ) GROUP BY a.id ORDER BY myfavorite DESC, lastid DESC

Call stack
# Function Location
1 JSite->dispatch() /home/chaos/public_html/jawt/index.php:68
2 JComponentHelper->renderComponent() /home/chaos/public_html/jawt/includes/application.php:124
3 require_once() /home/chaos/public_html/jawt/libraries/joomla/application/component/helper.php:162
4 KunenaApp->__construct() /home/chaos/public_html/jawt/components/com_kunena/kunena.php:850
5 CKunenaLatestX->display() /home/chaos/public_html/jawt/components/com_kunena/kunena.php:549
6 CKunenaLatestX->getmyLatest() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:670
7 CKunenaLatestX->_getMyLatest() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:417
8 CKunenaLatestX->_common() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:216
9 JDatabaseMySQL->loadObjectList() /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php:136
10 JDatabaseMySQL->query() /home/chaos/public_html/jawt/libraries/joomla/database/database/mysql.php:458
11 JError->raiseError() /home/chaos/public_html/jawt/libraries/joomla/database/database/mysql.php:231
12 JError->raise() /home/chaos/public_html/jawt/libraries/joomla/error/error.php:171
13 JException->__construct() /home/chaos/public_html/jawt/libraries/joomla/error/error.php:136

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

More
15 years 9 months ago #85585 by sozzled
Replied by sozzled on topic Re: Internal Error
Perplexing!

Please turn off legacy mode. Please read the very important information about Legacy mode in our Wiki. Please look at the discussions we have had about not using legacy mode: Kunena 1.6 has not been tested with legacy mode. See also Joomla legacy mode and Kunena .

Please upgrade to K 1.6.3; please also upgrade Kunena Latest module, too.

I don't know what caused the error. Possibly a database corruption. When do you see this error?

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

More
15 years 9 months ago #85616 by xillibit
Replied by xillibit on topic Re: Internal Error
Hello,

I advise you to upgrade to k1.6.3 and kunenalatest 1.6.2

You will need to change mysql configuration, but i think on your hosting environnement you will not able to do it.

Read it : dev.mysql.com/doc/refman/5.1/en/out-of-memory.html

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 9 months ago #85617 by chaosuk
Replied by chaosuk on topic Re: Internal Error
Cheers guys, will look into it all.

With regard to the legacy mode, it's on for the simple reason that one of the components has never been rewritten for J1.5 and thus it has to be on, until someone rewrites the component I'm stuck. I will however disbale and see if that has any effect but as I said this has been working fine until today so I wouldn't 'assume' it's connected.

Will get upgraded shortly which I guess means having to go through the css and reskin the forum - again!

FYI - The only time this error displays is when clicking on the recent posts tab and the my topics tab at the top of the board

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

More
15 years 9 months ago #85693 by sozzled
Replied by sozzled on topic Re: Internal Error

chaosuk wrote: With regard to the legacy mode, it's on for the simple reason that one of the components has never been rewritten for J1.5 and thus it has to be on, until someone rewrites the component I'm stuck. I will however disable and see if that has any effect but as I said this has been working fine until today so I wouldn't 'assume' it's connected.

When you think that Joomla 1.5 has been going since 2007 and support for Joomla 1.0 was withdrawn in July 2009, I think it would be quite surprising if the anyone was going to rewrite that component you're using. I think you're probably waiting in vain ... unless you pay someone to do the rewrite for you.

chaosuk wrote: The only time this error displays is when clicking on the recent posts tab and the my topics tab at the top of the board

Thank you for this important information. I see that you have removed the Recent Topics menu item, however I have found that you left out an important piece of information that might help.

When you go to the Recent Topics page - and I assume the case is the same when you go to My Topics (but I would need an account to verify this) - you get the following messages:

Kunena Internal Error: Please contact the site administrator to fix this issue!

Warning: Invalid argument supplied for foreach() in /home/chaos/public_html/jawt/components/com_kunena/funcs/latestx.php on line 140


I searched for "line 140" in the forum; I did not find a previously reported case for Kunena 1.6. Perhaps this new information might assist someone with more technical expertise than me.

chaosuk wrote: Will get upgraded shortly which I guess means having to go through the css and reskin the forum - again!

This was the main objection/excuse made by people who used K 1.5; they had customised their templates to such a degree that they were locked into using one particular point-release. To overcome this problem, K 1.6 separates the templates from the core.

To address the needs of users who need to customise their template, people should build their own custom template. People should not modify wither of the default or sample templates that are supplied with the K 1.6 installation. Alternatively, you can override the template CSS by adding your own rules and put them into your site template. A quicker alternative is to use the "skinner" feature ... it's not perfect but it might speed up the process.

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

More
15 years 8 months ago #89977 by noxis
Replied by noxis on topic some error with kunena
Hi guys, I hope someone can help me with my error.
namely, the question is:

Warning: Invalid argument supplied for foreach() in /home/ispforum/domains/forumprawa24.pl/public_html/components/com_kunena/funcs/latestx.php on line 140

Anyone meet with something like that.

Thx for answer

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

Time to create page: 0.187 seconds