55
The problem is that htmlspecialchars doesn't accept many types of encoding, that being one of them.
It looks like some defines are missing for the installer. This could be a residual effect of the first error but I cannot be 100% sure about that.
i would suggest this as a test. edit xoops_root/class/module.textsanitizer.php and edit out a few lines like this: Around line 418:
function htmlSpecialChars( $text, $quote_style = ENT_QUOTES, $charset = "ISO-8859-1", $double_encode = true )
{
//return preg_replace("/&/i", '&', htmlspecialchars($text, ENT_QUOTES));
//if ( version_compare( phpversion(), "5.2.3", ">=" ) ) {
// $text = htmlspecialchars( $text, $quote_style, $charset, $double_encode );
//} else {
$text = htmlspecialchars( $text, $quote_style);
//}
return preg_replace(
array("/&/i", "/ /i"),
array('&', ' '),
$text);
}
And try the install procedure again.
Catz