phpns-team team mailing list archive
-
phpns-team team
-
Mailing list archive
-
Message #00165
Re: [Question #45709]: phpns: "call to undefined function" in shownews.php
Question #45709 on phpns changed:
https://answers.launchpad.net/phpns/+question/45709
Status: Open => Answered
alecwh proposed the following answer:
Trent,
The shownews.php file DOES NOT use /inc/function.php (for efficiency
reasons). You will need to plug this code at the top of your
shownews.php:
function htmlspecialchars_decode($str) {
return strtr($str,
array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
}
Keep in mind, once you upgrade your server to PHP5, this will caused a
"function already defined" error. You can just delete the code snippet
at that point.
--
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.