- Posts: 17
- Thank you received: 0
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
Question Having problem with tab?
17 years 1 week ago #14001
by Jimmy1
Replied by Jimmy1 on topic Re:Having problem with tab?
Updated to 1.5.10, did not solve problem still receive the following error on "My Discussions" page...
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
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.
17 years 1 week ago - 17 years 1 week ago #14010
by Lintzy
Replied by Lintzy on topic Re:Having problem with tab?
Congratulation, now you have a secure Joomla! Installation 
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:
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:
Code:
function MySQLVersion()
{
static $mysqlversion;
if (!$mysqlversion)
{
and put global $database; in the code, like shown above:
Code:
function MySQLVersion()
{
global $database;
static $mysqlversion;
if (!$mysqlversion)
{
Last edit: 17 years 1 week ago by Lintzy.
Please Log in or Create an account to join the conversation.
17 years 1 week ago - 17 years 1 week ago #14110
by Jimmy1
Replied by Jimmy1 on topic Re:Having problem with tab?
I did as told.
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?
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?
Last edit: 17 years 1 week ago by Jimmy1.
Please Log in or Create an account to join the conversation.
17 years 1 week ago #14192
by Matias
Replied by Matias on topic Re:Having problem with tab?
This was another bug that has been fixed for Kunena 1.0.10:
Add this to components/com_kunena/lib/kunena.debug.php, line 42:
Sorry about that!
Add this to components/com_kunena/lib/kunena.debug.php, line 42:
Code:
global $database;
Sorry about that!
Please Log in or Create an account to join the conversation.
17 years 1 week ago - 17 years 1 week ago #14215
by Jimmy1
Replied by Jimmy1 on topic Re:Having problem with tab?
Update to joomla 1.5.10 no problems.
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.
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.
Last edit: 17 years 1 week ago by Jimmy1.
Please Log in or Create an account to join the conversation.
17 years 1 week ago #14298
by Matias
Replied by Matias on topic Re:Having problem with tab?
Could you please provide us the error message, too?
Please Log in or Create an account to join the conversation.
Time to create page: 0.321 seconds