DnJ Posted February 15, 2003 Posted February 15, 2003 I have a Win XP Pro Box with IIS installed / PHP and MySQL v3.23.55 I have downloaded the windows version of osCommerce and copied the admin folder to the inetpub/wwwroot folder of IIS. When I try and load the install file from within IIS management console nothing happens If I open the install file from with the folder I see that I need to change some variables in the application files in the includes folder. IIS is installed at c:Inetpub PHP is installed at c:PHP MySQL is installed at c:mysql Do I need to insert the name of my computer into any of the variables? I have no idea of what variables I need to change and to what, if someone could be so kind as to help with this it would be greatly appreciated. Thanks define('HTTP_SERVER', 'http://exchange'); define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/'); // where your pages are located on the server.. needed to delete images.. (eg, /usr/local/apache/htdocs) define('DIR_FS_LOGS', '/usr/local/apache/logs/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_PAYMENT_MODULES', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG . 'includes/modules/payment/'); define('DIR_FS_SHIPPING_MODULES', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG . 'includes/modules/shipping/'); define('STORE_NAME', 'The Exchange Project'); define('STORE_COUNTRY', 81); // Germany is 81, USA is 223 define('EXIT_AFTER_REDIRECT', 1); // if enabled, the parse time will not store its time after the header(location) redirect - used with tep_tep_exit(); define('STORE_PAGE_PARSE_TIME', 0); // store the time it takes to parse the page define('STORE_PAGE_PARSE_TIME_LOG', DIR_FS_LOGS . 'exchange/parse_time_log'); define('STORE_PARSE_DATE_TIME_FORMAT', '%d/%m/%Y %H:%M:%S'); if (STORE_PAGE_PARSE_TIME == '1') { $parse_start_time = microtime(); } define('STORE_DB_TRANSACTIONS', 0); // define the filenames used in the project define('FILENAME_BACKUP', 'backup.php'); define('FILENAME_CATEGORIES', 'categories.php'); define('FILENAME_CONFIGURATION', 'configuration.php'); define('FILENAME_PAYMENT_MODULES', 'payment_modules.php'); define('FILENAME_SHIPPING_MODULES', 'shipping_modules.php'); define('FILENAME_COUNTRIES', 'countries.php'); define('FILENAME_CUSTOMERS', 'customers.php'); define('FILENAME_DEFAULT', 'default.php'); define('FILENAME_MANUFACTURERS', 'manufacturers.php'); define('FILENAME_ORDERS', 'orders.php'); define('FILENAME_PRODUCTS_ATTRIBUTES', 'products_attributes.php'); define('FILENAME_PRODUCTS_EXPECTED', 'products_expected.php'); define('FILENAME_REVIEWS', 'reviews.php'); define('FILENAME_SPECIALS', 'specials.php'); define('FILENAME_STATS_CUSTOMERS', 'stats_customers.php'); define('FILENAME_STATS_PRODUCTS_PURCHASED', 'stats_products_purchased.php'); define('FILENAME_STATS_PRODUCTS_VIEWED', 'stats_products_viewed.php'); define('FILENAME_TAX_CLASSES', 'tax_classes.php'); define('FILENAME_TAX_RATES', 'tax_rates.php'); define('FILENAME_ZONES', 'zones.php'); define('FILENAME_CURRENCIES', 'currencies.php'); define('FILENAME_LANGUAGES', 'languages.php'); // define our database connection define('DB_SERVER', $HTTP_ENV_VARS['HOSTNAME']); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 1); "One Of Life's Greatest Pleasures Is Doing What Others Say You Can't"
Waza04 Posted February 15, 2003 Posted February 15, 2003 Before anything, use osc version 2.2 instead of 2.1 Warren
Recommended Posts
Archived
This topic is now archived and is closed to further replies.