×
Kunena 5.1.5 Released - Security Release (Yesterday)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× 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

More
6 years 8 months ago #1 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

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

More
6 years 8 months ago #2 by xillibit

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
6 years 8 months ago #3 by riffi67
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?

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

More
6 years 8 months ago #4 by Matias
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.

More
6 years 8 months ago #5 by riffi67
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

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

  • sozzled
  • Visitor
6 years 8 months ago #6 by sozzled
Replied by sozzled on topic PHP Warning: htmlspecialchars() kunena 1.7.1
It is a PHP setting. Turn off "Display Errors" in php.ini file.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.152 seconds