- Posts: 10
- Thank you received: 0
Kunena 7.0.10 & Kunena 6.4.15 – Security Updates Released and K7.1 in RC1
The Kunena team has announce the arrival of Kunena 7.0.10 [K 7.0.10] as security release 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 and 6.4.15 [K 6.4.15]. 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 Call to undefined method CKunenaTools::editTimeCheck()
15 years 5 months ago - 15 years 5 months ago #93256
by Quov
Call to undefined method CKunenaTools::editTimeCheck() was created by Quov
Normal User trys to start a new Thread, getting this Error:
Fatal error: Call to undefined method CKunenaTools::editTimeCheck() in C:\Ausbildung\Xampp\xampp\htdocs\joomla\components\com_kunena\funcs\view.php on line 269
Thread is posted completlt though, here is the code of the mentioned line:
Any Ideas?
Edit:
Admins and Mods do not get any Errors,Thread will be posted.
Kunena V 1.6.3
Fatal error: Call to undefined method CKunenaTools::editTimeCheck() in C:\Ausbildung\Xampp\xampp\htdocs\joomla\components\com_kunena\funcs\view.php on line 269
Thread is posted completlt though, here is the code of the mentioned line:
Code:
else if ($this->config->useredit && $this->my->id && $this->my->id == $this->profile->userid) {
//Now, if the viewer==author and the viewer is allowed to edit his/her own post then offer an 'edit' link
if ($message->hold != 2 && CKunenaTools::editTimeCheck($message->modified_time, $message->time)) {
$this->message_edit = CKunenaLink::GetTopicPostReplyLink ( 'edit', $this->catid, $this->id, CKunenaTools::showButton ( 'edit', JText::_('COM_KUNENA_BUTTON_EDIT') ), 'nofollow', 'kicon-button kbuttonmod btn-left', JText::_('COM_KUNENA_BUTTON_EDIT_LONG') );
if ( $this->config->userdeletetmessage == '1' ) {
if ($this->replynum == $this->replycnt) $this->message_delete = CKunenaLink::GetTopicPostLink ( 'delete', $this->catid, $this->id, CKunenaTools::showButton ( 'delete', JText::_('COM_KUNENA_BUTTON_DELETE') ), 'nofollow', 'kicon-button kbuttonmod btn-left', JText::_('COM_KUNENA_BUTTON_DELETE_LONG') );
} else if ( $this->config->userdeletetmessage == '2' ) {
$this->message_delete = CKunenaLink::GetTopicPostLink ( 'delete', $this->catid, $this->id, CKunenaTools::showButton ( 'delete', JText::_('COM_KUNENA_BUTTON_DELETE') ), 'nofollow', 'kicon-button kbuttonmod btn-left', JText::_('COM_KUNENA_BUTTON_DELETE_LONG') );
}
}
}
Any Ideas?
Edit:
Admins and Mods do not get any Errors,Thread will be posted.
Kunena V 1.6.3
Last edit: 15 years 5 months ago by Quov.
Please Log in or Create an account to join the conversation.
15 years 5 months ago #93275
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: Call to undefined method CKunenaTools::editTimeCheck()
Hello,
Can-you put here please your Kunena configuration report ?
Can-you put here please your Kunena configuration report ?
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.
15 years 5 months ago #93280
by Matias
Replied by Matias on topic Re: Call to undefined method CKunenaTools::editTimeCheck()
It looks like Joomla couldn't update all the files (\components\com_kunena\class.kunena.php). Please check that the function exists in that file and that the file is the latest version.
If not, easiest way to fix this is to remove the file and run the installer again to add missing files.
If not, easiest way to fix this is to remove the file and run the installer again to add missing files.
Please Log in or Create an account to join the conversation.
15 years 5 months ago #93359
by Quov
Replied by Quov on topic Re: Call to undefined method CKunenaTools::editTimeCheck()
Don't ask me why but - this section of the code has been commented out.
I really do not know why - no one else is able to view the code and last changes has been made with installation.
Well, thanks for your advice, but I still do not get, why only normal Members got this Error.
Thanks for advance.
I really do not know why - no one else is able to view the code and last changes has been made with installation.
Well, thanks for your advice, but I still do not get, why only normal Members got this Error.
Thanks for advance.
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds