Borima
02.04.2006, 12:40
Hallo Leute,..ich stehe da vor einem kleinen problem
ich rnichte mir gerade die 3.04 ein und bekomme beim einloggen in den shop eine weisse seite und folgende fehlermeldung:
"Fatal error: Call to undefined function: html_entity_decode() in /mnt/be1/07/314/00000021/htdocs/Shop/includes/classes/class.inputfilter.php on line 271"
dezufolge müsste ja hier irgendwo der fehler sein,..doch wo??
(inputfilter.php)
/
Try to convert to plaintext
@access protected
@param String $source
@return String $source
/
function decode($source = '') {
if ($source!='') {
// url decode
$source = html_entity_decode($source, ENT_QUOTES, "ISO-8859-1");
// convert decimal
$source = preg_replace('/&#(\d+);/me', "chr(\\1)", $source); // decimal notation
// convert hex
$source = preg_replace('/&#x([a-f0-9]+);/mei', "chr(0x\\1)", $source); // hex notation
}
return $source;
ich hatte vorher proberweise die 2er installiert und dort kam diese meldung nicht und es funktionierte alles einwandfrei.
kann mir da evtl wer nen tipp geben,..bin da noch neuling in der materie und will mich auch erstmal in xtcommerce reinfummeln und sehen ob es etwas für mich ist :rolleyes:
ich rnichte mir gerade die 3.04 ein und bekomme beim einloggen in den shop eine weisse seite und folgende fehlermeldung:
"Fatal error: Call to undefined function: html_entity_decode() in /mnt/be1/07/314/00000021/htdocs/Shop/includes/classes/class.inputfilter.php on line 271"
dezufolge müsste ja hier irgendwo der fehler sein,..doch wo??
(inputfilter.php)
/
Try to convert to plaintext
@access protected
@param String $source
@return String $source
/
function decode($source = '') {
if ($source!='') {
// url decode
$source = html_entity_decode($source, ENT_QUOTES, "ISO-8859-1");
// convert decimal
$source = preg_replace('/&#(\d+);/me', "chr(\\1)", $source); // decimal notation
// convert hex
$source = preg_replace('/&#x([a-f0-9]+);/mei', "chr(0x\\1)", $source); // hex notation
}
return $source;
ich hatte vorher proberweise die 2er installiert und dort kam diese meldung nicht und es funktionierte alles einwandfrei.
kann mir da evtl wer nen tipp geben,..bin da noch neuling in der materie und will mich auch erstmal in xtcommerce reinfummeln und sehen ob es etwas für mich ist :rolleyes: