Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default 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?
    *************************************
    * Budsy ([email protected]) *
    *************************************

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: PHP error on new server

    Which version of zen cart?
    Its a bug in the old version
    Anyways, read this thread:
    http://www.zen-cart.com/forum/archiv...hp/t-1611.html

    http://www.planetluc.com/forum/viewtopic.php?id=110
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  3. #3
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default 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.
    *************************************
    * Budsy ([email protected]) *
    *************************************

  4. #4
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: PHP error on new server

    Thanks for the updates!
    San
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: PHP error on new server

    Quote Originally Posted by 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default 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

  7. #7
    Join Date
    Dec 2005
    Location
    My Own Fluffy Place, Pangea
    Posts
    420
    Plugin Contributions
    0

    Default Re: PHP error on new server

    Quote Originally Posted by Vger
    The worlds' hackers will think their birthday has come early!

    Vger
    And they might be doing mankind a service

    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.
    Yeah! I'm small! I'm Fluffy! *Stick tongue out*

  8. #8
    Join Date
    Sep 2006
    Posts
    10
    Plugin Contributions
    0

    Default 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.
    *************************************
    * Budsy ([email protected]) *
    *************************************

 

 

Similar Threads

  1. v154 Having the worst time installing ZC (old PHP version) Error 500-Internal Server Error
    By pegburke4 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 8 Oct 2015, 06:54 AM
  2. trouble moving site - php error 500 server error
    By gregorw in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Mar 2012, 05:50 PM
  3. Replies: 1
    Last Post: 23 Sep 2010, 09:55 PM
  4. Replies: 2
    Last Post: 15 Oct 2009, 02:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg