roro Posted June 13, 2003 Posted June 13, 2003 Double path, only on the ADMIN, catalog is fine Im using APACHE on redhat on a hosting provider version: 2.1 define('HTTP_SERVER', 'http://roro.visitar.info/tienda/'); define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . 'tienda/'); // 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', 'http://roro.visitar.info/tienda/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 . 'tienda/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/');
mdfst13 Posted June 17, 2003 Posted June 17, 2003 Double path, only on the ADMIN, catalog is fine I don't understand what you mean by "double path." Please explain. What is it? Why is it a problem? Thanks, Matt I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams
tdavisjr Posted June 17, 2003 Posted June 17, 2003 I think I know what is going on...I am using IIS so my settings are a little different. so your links are comming up at like http://localhost/localhost/... or in your case 'http://roro.visitar.info/tienda/http://roro.visitar.info/tienda/admin/ or something of that nature right. Well you need to alter your define settings define('DIR_WS_ADMIN', 'http://roro.visitar.info/tienda/admin/'); try altering your settings to somethign like this define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); what is happening is that you are defining something twice and then whe you go to link to a page you see a double path...same thing happen to me and I just played around with the config files and finally i got it to work "You are what you habitually do. Excellence then is not a act, but a habit." -Aristotle
Recommended Posts
Archived
This topic is now archived and is closed to further replies.