Kunena 6.4.8 Released

The Kunena team has announce the arrival of Kunena 6.4.8 [K 6.4.8] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.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 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

Question Warnings in search

More
16 years 7 months ago #1 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
16 years 7 months ago #2 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
16 years 7 months ago #3 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
16 years 7 months ago #4 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
16 years 7 months ago #5 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
16 years 7 months ago - 16 years 7 months ago #6 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: 16 years 7 months ago by jerry.

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

More
16 years 7 months ago - 16 years 7 months ago #7 by Mortti
Replied by Mortti on topic Re:Warnings in search
Works whitout warning message, but URLs like
Code:
[url=http://www.kunena.com/forum?func=post&do=reply&catid=92&replyto=16736]This topic[/url]
don't show right in search result...

Mortti
Last edit: 16 years 7 months ago by Mortti.

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

More
16 years 7 months ago - 16 years 7 months ago #8 by Mortti
Replied by Mortti on topic Re:Warnings in search
Thanks jerry that fix.

Mortti
Last edit: 16 years 7 months ago by Mortti.

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

More
16 years 7 months ago #9 by Mortti
Replied by Mortti on topic Re:Warnings in search
It seems here is also little bug for that... just try insert code and url tags in same post couple times...

Mortti

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

More
16 years 7 months ago - 16 years 7 months ago #10 by woonydanny
Replied by woonydanny on topic Re:Warnings in search
I am also receiving the following errors when i try and do a search:

Warning: mb_substr() [function.mb-substr]: Unknown encoding "" in /home/ddd/public_html/components/com_kunena/class.kunena.php on line 1292

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/ddd/public_html/components/com_kunena/lib/kunena.search.class.php on line 340


Is there a solution to these?

It also seems that when i try and search it wont allow me to search All Categories

PHP Version: 5.2.6
Database Version: 5.0.77-community
Kunena: 1.0.10

still wish that i can write my forum signature through a jomsocial plugin and do it from my jomsocial profile :(
Last edit: 16 years 7 months ago by woonydanny.

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

Time to create page: 0.306 seconds