- Posts: 22
- Thank you received: 1
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 PHP Fatal error: Call to undefined function: htmlspecialchars_decode() in
- cornishcharlie
-
Topic Author
- Offline
- Junior Member
-
PHP Fatal error: Call to undefined function: htmlspecialchars_decode() in <PATH>/components/com_kunena/lib/kunena.link.class.php on line 124
I soon discovered from this forum that the problem was that my server was running an old version of php ( 4.4.9 )
I carried out the suggested fix found here:
www.kunena.com/forum?func=view&catid=17&id=4078
Unfortunately It wasn't clear where to insert the script on line 1275. I eventually added it to the end of the line and my problem seemed to be sorted.
I was once again happy until I tried to update my Avatar and received another
"Call to undefined function: htmlspecialchars_decode()" error with a different page, I carried out the same fix to that php line and page.
However now I get another similar error when trying to click on a forum topic:
Call to undefined function: htmlspecialchars_decode() in /home/sites/www.jcrecordings.com/public_html/components/com_kunena/template/default/view.php on line 108
I have looked at this code and tried the fix in numerous different places but i just can't get it too work.
Where in the script do I insert the fix? am I going to constantly be plagued with htmlspecialchars_decode errors whilst using this server. I'm a bit gutted after all the work, I hope you can help
cheers
John
PS despite my noob whining, I do think this is the best joomla module I have ever seem, I couldn't even contemplate a forum using Dreamweaver
Please Log in or Create an account to join the conversation.
- grumblemarc
-
- Offline
- Elite Member
-
- Still making trouble
- Posts: 1107
- Thank you received: 3
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
- cornishcharlie
-
Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- cornishcharlie
-
Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 1
Fatal error: Call to undefined function mb_substr() in /home/sites/www.jcrecordings.com/public_html/components/com_kunena/lib/kunena.search.class.php on line 264
I have seen a quick fix on the forum, but I don't understand where to make the change
Please Log in or Create an account to join the conversation.
- grumblemarc
-
- Offline
- Elite Member
-
- Still making trouble
- Posts: 1107
- Thank you received: 3
kunena.link.class.php I'm closing your other post.
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
- cornishcharlie
-
Topic Author
- Offline
- Junior Member
-
- Posts: 22
- Thank you received: 1
I have now found what I need to do, which may seem obvious to you with your PHP script knowledge, but for us who are just learning it is not so obvious that there should be contents between the brackets of the function and that the function need not be on the error line, so for newbies like me i will explain more clearly:
on line 512 you will see:
mb_substr(html_entity_decode_utf8($resmessage), 0, 300));
this needs to be changed to :
substr(html_entity_decode_utf8($resmessage), 0, 300));
Grumblemarc, I will say it again, this is brilliant software, which by its nature is not straightforward, but your contributions to us simple folk make all the difference,
cheers
John
Please Log in or Create an account to join the conversation.