- Posts: 71
- Thank you received: 3
Kunena 6.0.9.1 Released
The Kunena team has announce the arrival of Kunena 6.0.9.1 [K 6.0.9.1] which is now available for download as a native Joomla extension for J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0.
This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at
forum.joomla.org
Question PHP Warning: htmlspecialchars() kunena 1.7.1
11 years 1 month ago #1
by riffi67
PHP Warning: htmlspecialchars() kunena 1.7.1 was created by riffi67
Hello! Excuse my english but i'm ialian; i've updated kunena forum components to 1.7.1 version on my joomla 1.5.25 site. It works fine but in the error.log appear this PHP wharning:
PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /home/xxx/xxx/components/com_kunena/lib/kunena.link.class.php on line 181.
What can i do for resolve it?
Thanks
PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /home/xxx/xxx/components/com_kunena/lib/kunena.link.class.php on line 181.
What can i do for resolve it?
Thanks
Please Log in or Create an account to join the conversation.
11 years 1 month ago #2
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re: PHP Warning: htmlspecialchars() kunena 1.7.1
Hello,
Do you have looked this topic www.kunena.org/forum/168-k-16-and-k-17-s...ing-htmlspecialchars ?
Do you have looked this topic www.kunena.org/forum/168-k-16-and-k-17-s...ing-htmlspecialchars ?
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.
11 years 1 month ago #3
by riffi67
Replied by riffi67 on topic Re: PHP Warning: htmlspecialchars() kunena 1.7.1
Yes! I've looked the topic that you have linked me but i didn't find the solution.
My kunena.link.class.php at line 181 is this:
179function GetSamePageAnkerLink($anker, $name, $rel = 'nofollow', $class = '') {
180 jimport ( 'joomla.environment.request' );
181 return CKunenaLink::GetHrefLink ( htmlspecialchars(JRequest::getURI (), ENT_COMPAT, 182'UTF-8'), $name, '', $rel, $class, $anker );
}
What can i solve, please?
My kunena.link.class.php at line 181 is this:
179function GetSamePageAnkerLink($anker, $name, $rel = 'nofollow', $class = '') {
180 jimport ( 'joomla.environment.request' );
181 return CKunenaLink::GetHrefLink ( htmlspecialchars(JRequest::getURI (), ENT_COMPAT, 182'UTF-8'), $name, '', $rel, $class, $anker );
}
What can i solve, please?
Please Log in or Create an account to join the conversation.
11 years 1 month ago #4
by Matias
Replied by Matias on topic Re: PHP Warning: htmlspecialchars() kunena 1.7.1
Looks like the URI is not UTF-8 encoded, maybe someone has very old browser. I wouldn't care it at all, especially if you have display_errors = Off in your site.
Please Log in or Create an account to join the conversation.
11 years 1 month ago #5
by riffi67
Replied by riffi67 on topic Re: PHP Warning: htmlspecialchars() kunena 1.7.1
Excuse me, but i don't understand what can i do now for solve my problem.
Must i turn on display errors ON on my site?
Thanks
Must i turn on display errors ON on my site?
Thanks
Please Log in or Create an account to join the conversation.
11 years 1 month ago #6
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: PHP Warning: htmlspecialchars() kunena 1.7.1
It is a PHP setting. Turn off "Display Errors" in php.ini file.
Blue Eagle vs. Crypsis reference guide
Read my blog and

Please Log in or Create an account to join the conversation.
Time to create page: 0.247 seconds