- Posts: 17
- Thank you received: 0
Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] 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.
The Kunena team is also pleased to announce the twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.
Question Having problem with tab?
Fatal error: Call to a member function setQuery() on a non-object in components/com_kunena/lib/kunena.version.php on line 86
Please any other help?
thankyou
Please Log in or Create an account to join the conversation.
I asked Matias and he told me, what will solve the problem. Please edit the kunena.version.php (components/com_kunena/lib)
line 81 - 85 or search this code:
and put global $database; in the code, like shown above:
Please Log in or Create an account to join the conversation.
1. use FTP filezilla, edited kunena.version as told.
looks like this...
function MySQLVersion()
{
global $database;
static $mysqlversion;
if (!$mysqlversion)
{
$database->setQuery("SELECT VERSION() as mysql_version");
$mysqlversion = $database->loadResult();
}
return $mysqlversion;
2. Uploaded file same problem.
Any other help please?
I attach kunena.version file to post here.
Fatal error: Call to a member function stderr() on a non-object in components/com_kunena/lib/kunena.debug.php on line 56.
Maybe something to do with kunena.debug not kunena.version?
Please Log in or Create an account to join the conversation.
Add this to components/com_kunena/lib/kunena.debug.php, line 42:
Sorry about that!
Please Log in or Create an account to join the conversation.
I changed line 42 as told. Line 42 had echo debug_callstackinfo();
Do I replace it or move it down to line 43 so I can put global $database; on line 42?
"My Discussions" tab still says error code and white background and black text.
This is my code in kunena.debug.php
// Production error handling
function trigger_dberror($text = '')
{
global $mainframe;
global $database;
echo debug_callstackinfo();
require_once ($mainframe->getCfg('absolute_path') . '/components/com_kunena/lib/kunena.version.php');
$kunenaVersion = CKunenaVersion::version();
$kunenaPHPVersion = CKunenaVersion::PHPVersion();
$kunenaMySQLVersion = CKunenaVersion::MySQLVersion();
?>
Attached Kunena.debug to help.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.