Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    7
    Plugin Contributions
    0

    Default FATAL ERROR please help me

    what am I doing wrong?

    Fatal error: Call to undefined function: zen_check_url_get_terms() in /homepages/21/d88277630/htdocs/instock/summersmiles2/index.php on line 41

    This is line 41:
    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {


    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | license AT zen-cart DOT com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: index.php 277 2004-09-10 23:03:52Z wilt $
    //

    define('TEXT_MAIN',' <marquee>Welcome to Kalibobs Please check back often for new products.');
    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
    define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION', 'Please feel free to contact me with any special requests.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
    define('HEADING_TITLE', 'Available Products');
    define('TABLE_HEADING_IMAGE', 'Product Image');
    define('TABLE_HEADING_MODEL', 'Model');
    define('TABLE_HEADING_PRODUCTS', 'Product Name');
    define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
    define('TABLE_HEADING_QUANTITY', 'Quantity');
    define('TABLE_HEADING_PRICE', 'Price');
    define('TABLE_HEADING_WEIGHT', 'Weight');
    define('TABLE_HEADING_BUY_NOW', 'Buy Now');
    define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
    define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
    define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
    define('TEXT_SHOW', '<strong>Sort by:</strong> ');
    define('TEXT_BUY', 'Buy 1 \'');
    define('TEXT_NOW', '\' now');
    define('TEXT_ALL_CATEGORIES', 'All Categories');
    define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
    } elseif ($category_depth == 'top') {
    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.'); /*Replace this line with the headline you would like for your shop. For example: Welcome to My SHOP!*/
    } elseif ($category_depth == 'nested') {
    // this will also be used on Top Level
    define('HEADING_TITLE', 'Welcome to Kalibobs Unique Gifts and ETA Supplies.'); /*Replace this line with the headline you would like for your shop. For example: Welcome to My SHOP!*/
    }
    ?>
    Last edited by Brenda; 9 Oct 2006 at 06:20 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: FATAL ERROR please help me

    zen_check_url_get_terms() is defined in the /includes/functions/functions_general.php file. Is it possible that this file is corrupted or maybe been changed by a contribution you've installed?
    Try re-uploading this file afresh.
    .

    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
    Oct 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: FATAL ERROR please help me

    I don't know what this means. I do not design websites It might as well be a foreign language to me!

    All I know is I have all the files open in CUTEFtp, can you walk me through finding the file and correcting it?

    This is my current error message:
    Fatal error: Call to undefined function: zen_check_url_get_terms() in /homepages/21/d88277630/htdocs/instock/summersmiles2/index.php on line 30

    I'm just screwing it all up.
    Last edited by Brenda; 9 Oct 2006 at 09:13 PM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: FATAL ERROR please help me

    Re-upload the file from your PC to the server.

    Maybe re-unzip the original Zen Cart files and use the original version of that file, in case you've been editing it and created problems in your working copy of the file.



    As a sidenote, I don't recommend CuteFTP. I find that it causes more trouble than it solves. I recommend FileZilla as a reliable FTP program. Granted, it may not have the fancy built-in editor that CuteFTP has.
    .

    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.

  5. #5
    Join Date
    Nov 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: FATAL ERROR please help me

    I too have the same problem. I get this:

    Fatal error: Call to undefined function: zen_check_url_get_terms() in /home/content/s/u/p/supertshirts/html/zencart/index.php on line 30


    I have tried the reuploading of functions_general but it did not help.

    After 3 weeks of loading products into the store I am now grounded

    Any ASAP help would be appreciated

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: FATAL ERROR please help me

    Quote Originally Posted by wallst001 View Post
    After 3 weeks of loading products into the store I am now grounded
    So, it's been working fine for 3 weeks and suddenly broke?
    What changed on the server?
    .

    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: FATAL ERROR please help me

    Actually, I see you posted the same issue in another place, with some additional important information. Better to keep it all in one spot:

    http://www.zen-cart.com/forum/showthread.php?t=81124
    .

    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.

 

 

Similar Threads

  1. Fatal error PLEASE HELP!!!
    By laurieudy in forum General Questions
    Replies: 2
    Last Post: 22 Mar 2008, 06:46 PM
  2. Fatal Error Please Help
    By misspot in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 16 Aug 2007, 02:55 PM
  3. Please help!!! Fatal error in admin
    By sofi297 in forum General Questions
    Replies: 0
    Last Post: 1 Aug 2007, 06:59 PM
  4. Fatal Error, Please Help me!
    By godspeed27 in forum Customization from the Admin
    Replies: 8
    Last Post: 22 May 2006, 12:07 PM

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