Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    39
    Plugin Contributions
    0

    Default Fatal error: Call to undefined function:zen_js_zone_list()

    Can anybody help me with this?

    When I go to http://www.ezturnkeys.com/login.html

    I get this error:

    nction update_zone(theForm) { // if there is no zone_id field to update, or if it is hidden from display, then exit performing no updates if (!theForm || !theForm.elements["zone_id"]) return; if (theForm.zone_id.type == "hidden") return; // set initial values var SelectedCountry = theForm.zone_country_id.options[theForm.zone_country_id.selectedIndex].value; var SelectedZone = theForm.elements["zone_id"].value; // reset the array of pulldown options so it can be repopulated var NumState = theForm.zone_id.options.length; while(NumState > 0) { NumState = NumState - 1; theForm.zone_id.options[NumState] = null; } // build dynamic list of countries/zones for pulldown
    Fatal error: Call to undefined function: zen_js_zone_list() in /home/ezturnke/public_html/includes/modules/pages/login/jscript_addr_pulldowns.php on line 32

    Anyone know how to fix this?

    Thank you!!

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

    Default Re: Fatal error: Call to undefined function:zen_js_zone_list()

    It looks like you've done a partial code-update to your site but missed some files.
    The zen_js_zone_list() function is in functions_general.php. If you are using an old version of that file, or if a contribution you've installed has downgraded it because it's designed for an older version, you'll have to manually bring it up to date.
    .

    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.

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    39
    Plugin Contributions
    0

    Default Re: Fatal error: Call to undefined function:zen_js_zone_list()

    Thank you DrByte!
    I replaced the file functions_general.php and it seems to be working fine.

 

 

Similar Threads

  1. Fatal error: Call to undefined function:
    By Spdster in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 10 May 2008, 05:17 AM
  2. Fatal error: Call to undefined function: zen_js_zone_list()
    By Redradar in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 28 Nov 2006, 05:27 PM
  3. Replies: 1
    Last Post: 8 Nov 2006, 12:41 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