luckybob Posted March 11, 2004 Posted March 11, 2004 I know you guys probably get this a lot, but I have searched and searched for an answer and am getting nowhere fast. I got my admin page up and running fine, but the catalog page shows no images and the links don't work. I have tried every configuration but the right one I guess. I have looked at the source the page generates and the image links should be working, but don't. The links look like this: /localhost/catalog/loaclahost/catalog/... here is my catalog/inculdes/configuration.php define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', 'catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); 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', 'pub/'); define('DIR_FS_CATALOG', 'C:/Program Files/Apache Group/Apache2/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I would really like to get this up and running. I am running: Apache 2.0.46(win32) PHP 4.3.2 (Zend 1.3.0) MySQL 4.0.13-nt Windows XP LocalhostAny Help is appreciated, and if you want you can PM me. Luckybob
luckybob Posted March 11, 2004 Author Posted March 11, 2004 I fixed it. It seems the localhost doesn't translate into the web server. Once I used an ip/server name. it worked like a charm. Don't I feel sheepish. Thanks Anayway, Luckybob
Recommended Posts
Archived
This topic is now archived and is closed to further replies.