Guest Posted June 5, 2003 Posted June 5, 2003 4. View the file catalog/includes/configure.php and make necessary changes. Now you can use your browser to view the pages which should be located at 'http://localhost/catalog/'. You can also use your browser, or a graphics viewer/editor, to view the database model which is located in the directory where you extracted the files 'tep_catalog-pr2.1/tep_database_model-pr2.1.gif'. Hi.. Im up to this section of the install of the catalog part of oscommerce. Now.. I believe i configured the file correctly, here is an out take of the file itself... // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.SECRET.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.SECRET.com.au'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['/home/virtual/SECRET/var/www/html/']); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'SECRET); define('DB_SERVER_PASSWORD', 'SECRET); define('DB_DATABASE', 'SECRET'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Guys.. I wonder if there is 1 readme file out there that could help this newbie ;-) 8) Help would be appreciated... [/code]
Guest Posted June 5, 2003 Posted June 5, 2003 HAHAH... man.. im to embarrased to say what i did wrong... :oops: No problem, ill make sure ill have something worthwhile next time...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.