osCmax v2.5 User Manual
Results 1 to 2 of 2

Checkout_Shipping.php Fatal error

This is a discussion on Checkout_Shipping.php Fatal error within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hello, when you click on the link on my site called Checkout_shipping.php, it gives you a fatal error. Fatal error: ...

      
  1. #1
    Anonymous
    Guest


    Default Checkout_Shipping.php Fatal error

    Hello, when you click on the link on my site called Checkout_shipping.php, it gives you a fatal error. Fatal error: Call to undefined function: tep_get_configuration_key_value() in /homepages/37/d97494017/htdocs/catalog/checkout_shipping.php on line 18.

    Somone suggested to uninstall shipping methods and reinstall them. How do i do that?

  2. #2
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    Default

    you just haven't got the function defined, it probably means you're missing a file

    there should be two occurences of this function, one in a file indvship_status,php which looks like this:

    <?php
    /*

    Indvship

    */
    ?>
    <?php


    // BOF Indv Ship
    function tep_get_configuration_key_value($lookup) {
    $configuration_query_raw= tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key='" . $lookup . "'");
    $configuration_query= tep_db_fetch_array($configuration_query_raw);
    $lookup_value= $configuration_query['configuration_value'];
    return $lookup_value;
    }
    // EOF

    ?>



    and one called downloads_controller which looks like this:

    <?php
    /*

    WebMakers.com Added: Downloads Controller Functions
    NOTE: Some function may already exist in other Add-Ons I have created.

    */
    ?>
    <?php

    ////
    // BOF: WebMakers.com Added: configuration key value lookup
    function tep_get_configuration_key_value($lookup) {
    $configuration_query_raw= tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key='" . $lookup . "'");
    $configuration_query= tep_db_fetch_array($configuration_query_raw);
    $lookup_value= $configuration_query['configuration_value'];
    return $lookup_value;
    }
    // EOF: WebMakers.com Added: configuration key value lookup

    ?>


    both files live in includes/functions/



    jon

Similar Threads

  1. fatal error plz help
    By uglyrain in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 11-30-2005, 02:28 PM
  2. Fatal error!!
    By newtothis in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-13-2005, 04:48 PM
  3. Error during checkout_shipping.php
    By nihir in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 06-26-2005, 05:23 PM
  4. Fatal error:
    By kiokouk in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-24-2004, 02:38 AM
  5. Fatal Error
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 06-17-2004, 06:28 AM

Bookmarks

Posting Permissions

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