Page 1 of 1

minimum php version 4 phpwcms_1.2.1-DEV

Posted: Mon 7. Mar 2005, 14:10
by madflanderz
hello,

i've installed the newest version phpwcms_1.2.1-DEV. if if want to start my site after a successful installation i got this error:
Fatal error: Call to undefined function: html_entity_decode() in /home/www/web27/html/stuff/madflanderzCMS/include/inc_front/front.func.inc.php on line 2875
html_entity_decode() requires min php v 4.3. maybe there are some more function which require higher versions of php.

so to my question:
WHAT is the minimum php version fpr this release? i've found no information about this.


i got php v4.2.2 and this release doesn't work with it, what a bummer!

thx, maddin

Posted: Mon 7. Mar 2005, 14:28
by pico

Posted: Mon 7. Mar 2005, 14:39
by madflanderz
hehe, u r funny,
PHP ab der Version 4.2.1 besser jedoch ab 4.3.4
but html_entity_decode() requires min php v 4.3 so i think this information is based on an old version, maybe phpwcms_1.1

do u think that 4.3 will work?

Posted: Mon 7. Mar 2005, 14:46
by pico
Hi

sorry for that - I've not looked there before :oops:

My Server is working with 4.3.10 and there is no Problem with this.

@Pappnase

pls. check the Versions on your Docu-Site - think it should be 4.3 for the 1.2.1 Dev - maybe contact OG :D

Posted: Mon 7. Mar 2005, 15:08
by madflanderz
:wink: no problem, i'm also not knowing everything (but nearly :D )

i think it will also be good if there is a hint with the minimal php requirements at start of the installation.

my serveradmin will not update the php version soon, so i have to use to old version :( .

have i nice day,
maddin

Posted: Mon 7. Mar 2005, 16:02
by brans
hmm then your serveradmin isn`t that great admin ;-) I would switch providers... ;-)

Posted: Mon 7. Mar 2005, 18:01
by cyaneo
Hi,

most of my Providers switched from 4.2.x to PHP 4.3.10 cause some bugs and problems with 4.2.x

Don't know if this is true, but the many problems I had with 4.2.x I better believe it...

Since I can use PHP 4.3.10 no more problems with all my other programms.

maybee this is a temp solution

Posted: Wed 27. Apr 2005, 11:55
by kurt2000
function html_entity_decode($string)
{
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$contents= strtr($string, $trans);
return $contents;
}

//With kind regards

Posted: Sat 30. Apr 2005, 07:23
by Oliver Georgi
yepp - a possible way to simulate missing functions.

Oliver

Re: maybee this is a temp solution

Posted: Tue 26. Jul 2005, 15:05
by Rune
kurt2000 wrote:function html_entity_decode($string)
{
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$contents= strtr($string, $trans);
return $contents;
}

//With kind regards
Sorry for my ignorance, but where should i put this code? :?

Rune

Posted: Tue 26. Jul 2005, 15:12
by pico
Hi

not tested but I think it should run in index.php or insert it in a new File like entity.php and insert in the index.php a require_once Command.