PDA

View Full Version : Need help With Exchange Project Cart Setup


steven
05-11-2001, 08:09 PM
Hello, I'm trying to install the exchange project cart on my website. Unfortunately, i don't know all the variables that I need to setup the cart. I was wondering if someone who has installed this cart can help me out?

Thanks
Steven

eric418
05-13-2001, 02:15 AM
i tried this, what part u got problem?

DarkWizard
05-13-2001, 08:08 AM
Yes...let us know and we will help you.

steven
05-14-2001, 01:09 AM
Eric and darkwizard, thank you for your replies. I'm just not sure how to setup the variables correctly.

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
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);
What other than the variables listed above do I need to edit? Thanks for any help that you guys can provide.

waipahunet
05-17-2001, 05:21 AM
I just got it installed and I think the critical things you need to change are in the following:

// define our database connection
define('DB_SERVER', $HTTP_ENV_VARS['HOSTNAME']);
-change ['HOSTNAME'] to ['LOCALHOST']

define('DB_SERVER_USERNAME', 'mysql');
-change 'mysql' to your login name

define('DB_SERVER_PASSWORD', '');
-put a valid password between the ''

define('DB_DATABASE', 'catalog');
-put the correct database name usually yourdomain_catalog

What I'm trying to figure out is how I can change the text that shows up on the default.php If anyone can help with this one I would be very grateful.

eric418
05-17-2001, 05:50 AM
what part exactly you want to change?
some common files you might want to change.

includes/header.php
includes/footer.php
includes/application_top.php
includes/application_bottom.php
includes/column_right.php
includes/column_left.php
includes/languages/english.php
includes/languages/english/default.php

waipahunet
05-17-2001, 06:26 AM
Maybe I just missed something really simple but I wanted to change the following that's defaulted.

"What's New Here?

Sunday 06 February, 2000

Welcome to 'WaipahuNet Store'! This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional.

If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on Preview Release 2.1. "

Which .php file contains this info?

eric418
05-17-2001, 11:15 AM
just search for the string you want to change in explorer and u'll know what file u need to edit.