Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable 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 This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question Warnings in search

More
17 years 6 months ago #16708 by jerry
Warnings in search was created by jerry
Joomla 1.5.10, PHP 5.2.0, MYSQL 5.0.32
Warning: mb_substr() [function.mb-substr]: Unknown encoding "" in components/com_kunena/class.kunena.php on line 1292

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

More
17 years 6 months ago #16717 by xillibit
Replied by xillibit on topic Re:Warnings in search
Hello,

what do you have searched for obtain this error ?

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
17 years 6 months ago #16719 by jerry
Replied by jerry on topic Re:Warnings in search
xillibit wrote:

Hello,

what do you have searched for obtain this error ?

Whatever which return results. Reproducible always.

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

More
17 years 6 months ago #16721 by xillibit
Replied by xillibit on topic Re:Warnings in search
I have reported this to the DEVs, thanks for the 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.

More
17 years 6 months ago #16735 by jerry
Replied by jerry on topic Re:Warnings in search
xillibit wrote:

I have reported this to the DEVs, thanks for the report.


mb_substr($str, $start, $lenght, $encoding); doesn't work with encoding set to NULL in PHP 5. You need to check if $encoding is not NULL to use it and call mb_substr($str, $start, $length) if it is NULL or "".

HaND

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

More
17 years 6 months ago - 17 years 6 months ago #16736 by jerry
Replied by jerry on topic Re:Warnings in search
I patched it this way
components/class.kunena.php line 1292
before
Code:
return mb_substr($str, $start, $lenght, $encoding);
after
Code:
if ($encoding === NULL) { return mb_substr($str, $start, $lenght); } else { return mb_substr($str, $start, $lenght, $encoding); }
Last edit: 17 years 6 months ago by jerry.

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

Time to create page: 0.121 seconds