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
Bookmarks