Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

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 Error on latest post module

More
13 years 2 months ago #1 by Milutin
After instalation of Kunena Lates module I got this error

Code:
Fatal error: Cannot redeclare html_entity_decode_utf8() (previously declared in ***\components\com_mtree\mtree.tools.php:631) in ***\components\com_kunena\class.kunena.php on line 1049

Any solution?

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

More
13 years 2 months ago #2 by xillibit
Hello,

Can-you put here please your kunena report configuration settings ?

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
13 years 2 months ago #3 by Milutin
This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Missing | PHP environment: Max execution time: 90 seconds | Max execution memory: 24M | Max file upload: 400M

This message contains confidential information

Joomla default template details : gk_sporter | author: Robert Gavick - GavickPro | version: 1.0.5 | creationdate: 30/09/2010

Kunena default template details : Blue Eagle (default) | author: Kunena Team | version: 1.6.2 | creationdate: 2010-12-29

Kunena version detailled: Installed version: 1.6.2 | Build: 3894 | Version name: Team | Kunena detailled configuration:

Warning: Spoiler!

Third-party components: AlphaUserPoints: Disabled or not installed | CommunityBuilder: Disabled or not installed | Jomsocial: Installed (Version : 2.0.4) | UddeIm: Disabled or not installed

Third-party SEF components: sh404sef: Disabled or not installed | ARTIO JoomSEF: Disabled or not installed | AceSEF: Disabled or not installed

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.2) | Kunena Stats: Disabled or not installed | Kunena Login: Disabled or not installed

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

More
13 years 2 months ago #4 by Milutin
Anyone help?

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

More
13 years 2 months ago #5 by xillibit
The function html_entity_decode_utf8() isn't used anymore in k1.6, so it's weired that you have this issue

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
13 years 2 months ago #6 by Milutin

xillibit wrote: The function html_entity_decode_utf8() isn't used anymore in k1.6, so it's weired that you have this issue

What do you mean it is not used - I have take this part of the code from class.kunena.php (1.6.2)
the same thing is used by the mtree:
Kunena:
Code:
// TODO: deprecated function html_entity_decode_utf8($string) { static $trans_tbl = NULL; user_error(__FUNCTION__.'(): Deprecated', E_USER_NOTICE); // replace numeric entities $string = preg_replace('~&#x([0-9a-f]+);~ei', 'code2utf(hexdec("\\1"))', $string); $string = preg_replace('~&#([0-9]+);~e', 'code2utf(\\1)', $string); // replace literal entities if (!isset($trans_tbl)) { $trans_tbl = array(); foreach (get_html_translation_table(HTML_ENTITIES) as $val=>$key) $trans_tbl[$key] = utf8_encode($val); } return strtr($string, $trans_tbl); }

Mtree:
Code:
if (!function_exists('html_entity_decode_utf8')) { function html_entity_decode_utf8($string) { static $trans_tbl; // replace numeric entities $string = preg_replace('~&#x([0-9a-f]+);~ei', 'code2utf(hexdec("\\1"))', $string); $string = preg_replace('~&#([0-9]+);~e', 'code2utf(\\1)', $string); // replace literal entities if (!isset($trans_tbl)) { $trans_tbl = array(); foreach (get_html_translation_table(HTML_ENTITIES) as $val=>$key) $trans_tbl[$key] = utf8_encode($val); } return strtr($string, $trans_tbl); } }

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

More
13 years 2 months ago #7 by xillibit
Yes, i had seen it but this function isn't used

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
13 years 2 months ago #8 by Milutin
Than can I remove that part of the code?

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

Time to create page: 0.417 seconds