Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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 eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

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 Can not move thread to other category

More
16 years 10 months ago - 16 years 10 months ago #23684 by AlvynK
I had just installed kunena 1.54 and my joomla is 1.5.12.

When I tried to move thread to different category I got this
Code:
Fatal error: Unable to insert ghost message.\nDB function reports no errors in mysite/public_html/components/com_kunena/lib/kunena.debug.php on line 58

and the page looked twisted. CSS not working I guess.

Second thing; my smiley also not working even I disable my rokcandy component.

Please advise :S
Last edit: 16 years 10 months ago by AlvynK. Reason: update

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

More
16 years 10 months ago #23691 by xillibit
Hello,

go in joomla configuration panel and enable the debug mode, for see a better error message.

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
16 years 10 months ago #23696 by woonydanny
I can confirm i am having the same issue when i try to move a post in K1.5.4

When i try to move a forum post (only tried it with leaving a ghost message) into another category i get an error. I turned on joomla debug but the page then is just a blank white page. the url i get redirected to is:

mysite.com/forum/post


Ok - error i get when joomla debug off is:
Code:
variable value $0 " key value $file "/home/ddd/public_html/components/com_kunena/lib/kunena.debug.php" $line "44" $function "debug_callstackinfo" [args] Nested Array " $1 " key value $file "/home/ddd/public_html/components/com_kunena/template/default/post.php" $line "1051" $function "trigger_dberror" [args] Nested Array " $2 " key value $file "/home/ddd/public_html/components/com_kunena/kunena.php" $line "574" [args] Nested Array $function "include" " $3 " key value $file "/home/ddd/public_html/libraries/joomla/application/component/helper.php" $line "162" [args] Nested Array $function "require_once" " $4 " key value $file "/home/ddd/public_html/includes/application.php" $line "124" $function "renderComponent" $class "JComponentHelper" $type "->" [args] Nested Array " $5 " key value $file "/home/ddd/public_html/index.php" $line "68" $function "dispatch" $class "JSite" $type "->" [args] Nested Array " Installed version: Kunena 1.5.4 | 2009-07-11 | 1730 [ Fale ] | php 5.2.6 | mysql 5.0.81-community Fatal error: Unable to insert ghost message.\nDB function reports no errors in /home/ddd/public_html/components/com_kunena/lib/kunena.debug.php on line 58

still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile :(

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

More
16 years 10 months ago - 16 years 10 months ago #23698 by xillibit
I have the same problem on my local test site, I think this is a bug, I will report this to the DEVs. Thanks for report this.

The only solution for the moment is to unchecked the box "leave ghost message"

P.S. : I have a workaround for this issue, I have modified the file like in kunena 1.5.3, in the file components/com_kunena/tempalte/default/post.php at line 1050 replace this :
Code:
$kunena_db->setQuery("INSERT INTO #__fb_messages (`parent`, `subject`, `time`, `catid`, `moved`, `userid`, `name`) VALUES ('0',".$kunena_db->quote($newSubject).",'$lastTimestamp','{$oldRecord[0]->catid}','1', '{$kunena_my->id}', '".$kunena_db->quote(trim(addslashes($my_name)))."')");

with this :
Code:
$kunena_db->setQuery("INSERT INTO #__fb_messages (`parent`, `subject`, `time`, `catid`, `moved`, `userid`, `name`) VALUES ('0','$newSubject','$lastTimestamp','{$oldRecord[0]->catid}','1', '{$kunena_my->id}', '".trim(addslashes($my_name))."')");

at line 1057 replace this :
Code:
$kunena_db->setQuery("INSERT INTO #__fb_messages_text (`mesid`, `message`) VALUES ('$newId', ".$kunena_db->quote($newURL).")");

by this :
Code:
$kunena_db->setQuery("INSERT INTO #__fb_messages_text (`mesid`, `message`) VALUES ('$newId', '$newURL')");

I don't provide support by PM, because this can be useful for someone else.
Last edit: 16 years 10 months ago by xillibit.

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

More
16 years 8 months ago #27505 by Matias
Fixed for K1.5.6..

BTW: you should keep quote() in line 1057.

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

Time to create page: 0.238 seconds