Guest Posted July 4, 2006 Posted July 4, 2006 I did'nt really moved it but put a new index.html there. How can I change FILENAME_DEFAULT to point there, so every time the customer clicks on "continue" or "continue shooping" he gets this main page, and not the one created by catalog/index.php?
ozcsys Posted July 4, 2006 Posted July 4, 2006 I did'nt really moved it but put a new index.html there.How can I change FILENAME_DEFAULT to point there, so every time the customer clicks on "continue" or "continue shooping" he gets this main page, and not the one created by catalog/index.php? Edit your includes/filenames.php define('FILENAME_DEFAULT', 'index.php'); The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted July 4, 2006 Posted July 4, 2006 I changed my mind. Forget about the html file mentioned before. The index.php is ok. I want the customer to type www.mysite.com and see the main page, instead of typing www.mysite.com/catalog. How to do this?
ozcsys Posted July 4, 2006 Posted July 4, 2006 I changed my mind.Forget about the html file mentioned before. The index.php is ok. I want the customer to type www.mysite.com and see the main page, instead of typing www.mysite.com/catalog. How to do this? move all your files up one level to the root and edit your two configure.php files (removing /catalog) The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted July 5, 2006 Posted July 5, 2006 move all your files up one level to the root and edit your two configure.php files (removing /catalog) I moved the files as you suggested. A lot of troubles, but at the end every thing was fixed. One problem left: the images at admin do not appear. (at the site they do appear) I removed catalog at admin/configure.php. Where can be the problem? To be sure, here is admin/configure.php: <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.mydomainsecure); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'C:/domains/mydomain.com/wwwroot'); // 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_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', 'C:/domains/mydomain.com/wwwroot/' . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '//'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xx'); define('DB_SERVER_PASSWORD', 'ryy'); define('DB_DATABASE', 'mydomain'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.