Zen Cart Logo
Forums / Installing on a Windows Server / PHP error on new server

PHP error on new server

Locked

Views: 1,956

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Sep 2006, 8:58 AM
#1
budsy avatar

budsy

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

PHP error on new server

I've just moved my ZenCart over to my production server, and all works pretty well with one big exception... I'm getting a fatal error:

PHP Fatal error: Call to undefined function: html_entity_decode() in C:\Program Files\Ensim\WEBppliance\SiteData\Domains\soundhealingresources.com\ROOT\Inetpub\wwwroot\cart\includes\functions\html_output.php on line 288

The PHP version on the server is 4.2.3 or thereabouts ;-)

I'm getting desperate and near a deadline. Anybody clue me in on this one?
:shocking:

28 Sep 2006, 9:47 AM
#3
budsy avatar

budsy

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: PHP error on new server

Thanks. The problem was in includes/functions/html_output.php. I simply added "zen_" inf front of the call to html_entity_decode(), since "zen_html_entity_decode" was defined in another file. That fixed the problem.

28 Sep 2006, 10:17 AM
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: PHP error on new server

Thanks for the updates!
San

28 Sep 2006, 4:45 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PHP error on new server

Budsy:

The PHP version on the server is 4.2.3 or thereabouts ;-)

  1. You have a VERY old version of PHP.
  2. If it was working on the other server but not on your new server, and you didn't make any file edits, then there should have been no need to make a code change to the file.
28 Sep 2006, 5:21 PM
#6
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: PHP error on new server

The PHP version on the server is 4.2.3 or thereabouts ;-)

The worlds' hackers will think their birthday has come early!

Vger

29 Sep 2006, 5:28 AM
#7
fluffytigger avatar

fluffytigger

Zen Follower

Join Date:
Dec 2005
Location:
My Own Fluffy Place, Pangea
Posts:
377
Plugin Contributions:
0

Re: PHP error on new server

Vger:

The worlds' hackers will think their birthday has come early!

Vger

And they might be doing mankind a service :laugh:

Budsy, dude, for da love of Small Fluffy Animals, run at least 4.4.1. There were some major major major security problems with all versions earlier to 4.4.1. Should get that updated ASAP.

6 Oct 2006, 9:07 PM
#8
budsy avatar

budsy

New Zenner

Join Date:
Sep 2006
Posts:
10
Plugin Contributions:
0

Re: PHP error on new server

That PHP version is running on the commercial hosting service we hired. I'll tell them they should upgrade.