Fehlermeldung html_entity_decode()

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
letslounge
Posts: 2
Joined: Fri 10. Jun 2005, 17:17

Fehlermeldung html_entity_decode()

Post by letslounge »

Hallo,

bekomme immer die Meldung
Fatal error: Call to undefined function: html_entity_decode() in /srv/www/htdocs/www.attac.de/nuernberg/cms/include/inc_ ... nc.inc.php on line 3013
angezeigt.
Seltsamerweise erscheint diese Meldung nur wenn man ausgeloggt ist. Nachdem man eingeloogt ist erscheint sie nicht.
Bsp:
http://www.attac.de/nuernberg/cms/index ... ,4,0,0,1,0

Wäre denkbar dankbar über Hilfe.

Grüße

Michael
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

check your PHP-Version html_entity_decode() requires min php v 4.3


or add this to your Code -->http://www.phpwcms.de/forum/viewtopic.php?p=39562#39562
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
letslounge
Posts: 2
Joined: Fri 10. Jun 2005, 17:17

Post by letslounge »

...many thanks.
That is the solution (add to code...)

dr

michael
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

Just for making it not necessary for you to with topics to find the answer:

INSERT:

Code: Select all

//simulate html entity function

function html_entity_decode($string) 
{ 
$trans = get_html_translation_table(HTML_ENTITIES); 
$trans = array_flip($trans); 
$contents= strtr($string, $trans); 
return $contents; 
} 

//end
into your index.php
2008
Post Reply