Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Freightquote.com shipping module issues

    Hello I have just tried to install the Freightquote.com shipping module from the downloads here. I followed everything to the letter and installed it, using my username and password but now when I go to any of my products page in the catalog all I see is the giant mess below.
    Has anyone got any idea what I did wrong and how I can fix it?
    Any help would be great.
    Thanks






    /** * @package admin * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: product.php 15881 2010-04-11 16:32:39Z wilt $ */ require('includes/application_top.php'); //---Freightquote Modification START ---// require(DIR_WS_INCLUDES . 'freightquote/freightquote_admin.php'); $freightQuote = new freightQuote(); //---Freightquote Modification END ---// require(DIR_WS_MODULES . 'prod_cat_header_code.php'); $action = (isset($_GET['action']) ? $_GET['action'] : ''); if (zen_not_null($action)) { switch ($action) { case 'setflag': if ( ($_GET['flag'] == '0') || ($_GET['flag'] == '1') ) { if (isset($_GET['pID'])) { zen_set_product_status($_GET['pID'], $_GET['flag']); } } zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&pID=' . $_GET['pID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : ''))); break; case 'delete_product_confirm': $delete_linked = 'true'; if ($_POST['delete_linked'] == 'delete_linked_no') { $delete_linked = 'false'; } else { $delete_linked = 'true'; } $product_type = zen_get_products_type($_POST['products_id']); if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/delete_product_confirm.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/delete_product_confirm.php'); } else { require(DIR_WS_MODULES . 'delete_product_confirm.php'); } break; case 'move_product_confirm': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/move_product_confirm.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/move_product_confirm.php'); } else { require(DIR_WS_MODULES . 'move_product_confirm.php'); } break; case 'insert_product_meta_tags': case 'update_product_meta_tags': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/update_product_meta_tags.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/update_product_meta_tags.php'); } else { require(DIR_WS_MODULES . 'update_product_meta_tags.php'); } break; case 'insert_product': case 'update_product': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/update_product.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/update_product.php'); } else { require(DIR_WS_MODULES . 'update_product.php'); } break; case 'copy_to_confirm': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/copy_to_confirm.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/copy_to_confirm.php'); } else { require(DIR_WS_MODULES . 'copy_to_confirm.php'); } break; case 'new_product_preview_meta_tags': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/new_product_preview_meta_tags.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/new_product_preview_meta_tags.php'); } else { require(DIR_WS_MODULES . 'new_product_preview_meta_tags.php'); } break; case 'new_product_preview': if (file_exists(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/new_product_preview.php')) { require(DIR_WS_MODULES . $zc_products->get_handler($product_type) . '/new_product_preview.php'); } else { require(DIR_WS_MODULES . 'new_product_preview.php'); } break; } } // check if the catalog image directory exists if (is_dir(DIR_FS_CATALOG_IMAGES)) { if (!is_writeable(DIR_FS_CATALOG_IMAGES)) $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error'); } else { $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error'); } ?>

    Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in /home/gomango/public_html/shop/admin+/product.php on line 128

    Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in /home/gomango/public_html/shop/admin+/product.php on line 128

    Fatal error: require() [function.require]: Failed opening required 'DIR_WS_INCLUDESheader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gomango/public_html/shop/admin+/product.php on line 128

  2. #2
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Freightquote.com shipping module issues

    Any help would be great, I am pretty new to PHP,

 

 

Similar Threads

  1. v151 Code to read fields from db for freightquote shipping module
    By jimmie in forum Addon Shipping Modules
    Replies: 19
    Last Post: 31 Dec 2014, 06:46 PM
  2. v151 Ceon Advanced Shipper v5.02 Updated to include freightquote.com shipping
    By jimmie in forum Addon Shipping Modules
    Replies: 3
    Last Post: 18 Dec 2014, 01:48 PM
  3. freightquote.com interface needed
    By regenbauma in forum Addon Shipping Modules
    Replies: 11
    Last Post: 18 Jul 2011, 02:39 PM
  4. freightquote with usps and fredx shipping
    By chetanthumar in forum Addon Shipping Modules
    Replies: 1
    Last Post: 8 Feb 2011, 04:43 PM
  5. Freightquote rates don't appear in shipping estimator
    By plaz in forum Addon Shipping Modules
    Replies: 3
    Last Post: 4 Feb 2011, 09:39 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR