minimum php version 4 phpwcms_1.2.1-DEV

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
madflanderz
Posts: 6
Joined: Mon 7. Feb 2005, 11:04

minimum php version 4 phpwcms_1.2.1-DEV

Post 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
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
madflanderz
Posts: 6
Joined: Mon 7. Feb 2005, 11:04

Post 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?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
madflanderz
Posts: 6
Joined: Mon 7. Feb 2005, 11:04

Post 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
brans

Post by brans »

hmm then your serveradmin isn`t that great admin ;-) I would switch providers... ;-)
cyaneo
Posts: 128
Joined: Sun 6. Feb 2005, 01:23
Contact:

Post 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.
Gruss
cyaneo
Zen Cart - The Art of e-Commerce

Wenn jeder dem anderen helfen wollte, wäre allen geholfen.
-------------------------------------------
Ein Problem ist halb gelöst, wenn es klar formuliert ist.
kurt2000
Posts: 2
Joined: Wed 27. Apr 2005, 11:50

maybee this is a temp solution

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9917
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

yepp - a possible way to simulate missing functions.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Rune
Posts: 2
Joined: Mon 25. Jul 2005, 20:13
Location: Norway
Contact:

Re: maybee this is a temp solution

Post 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
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply