Cem Posted September 3, 2003 Posted September 3, 2003 Hi I installed the site on a win2kserver and its there. nice first page. Its all at mall.cedora.net I think I have some code-error in configure.php also under admin normal configure.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', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'mall.cedora.net/'); 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', 'D:/WWW/mallcedora/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); and here is the configure.php for the admin define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', '://'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'D:/WWW/mallcedora/'); // where the pages are located on the server define('DIR_WS_ADMIN', ''); // absolute path required define('DIR_FS_ADMIN', '/cmyk/'); // absolute pate required define('DIR_WS_CATALOG', ''); // absolute path required define('DIR_FS_CATALOG', ''); // absolute path required 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/'); Can anybody help ? /Cem Finland
Guest Posted September 3, 2003 Posted September 3, 2003 define('HTTP_SERVER', 'http://mall.cedora.net'); // eg, http://localhost - should not be empty for productive servers define('HTTP_COOKIE_DOMAIN', 'mall.cedora.net'); define('HTTP_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_FS_CATALOG', 'D:/WWW/mallcedora');
Cem Posted September 3, 2003 Author Posted September 3, 2003 I cant see the images if I do this line as you said. define('HTTP_SERVER', 'http://mall.cedora.net'); // eg, http://localhost - should not be empty for productive servers I have to leave it this way empty: define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers My truoble is if I click on create an account I get this link http://mall.cedora.net/mall.cedora.net/cre...ate_account.php I have 2 times mall.cedora.net ?? Regards Cem
Guest Posted September 3, 2003 Posted September 3, 2003 Yes, the reason that you are getting that is that you have mall.cedora.net as your DIR_WS_CATALOG. The code that I posted is correct. If images do not work with it, then we should find out what is broken there and fix it, rather than relying on other broken settings. It would be helpful to know which images are broken (i.e. how I can get to broken images). Hth, Matt
Cem Posted September 3, 2003 Author Posted September 3, 2003 Hi Matt All Images are broken I fix the code now as in your Email and you can have a look at http://mall.cedora.net/ Thanks Regards Cem
Cem Posted September 3, 2003 Author Posted September 3, 2003 So far I got it running thx for Your help I needed just your words .....what is broken there and fix it, rather than relying on other broken settings. Regards Cem
Guest Posted September 3, 2003 Posted September 3, 2003 Btw, you might want to look at http://www.oscommerce.com/community/bugs,1242 You seem to be getting that problem intermittently. Hth, Matt
Cem Posted September 3, 2003 Author Posted September 3, 2003 Thanks Matt I am still playing arround and it will be a playground for me. Try to find out how to include regional salesoffice which should handle the order. Regional salesoffices have their own stock and should deliver the order taking products from other regional salesoffices. That means that each product has to have a parameter for the stockplace. The customer gets a bill from their standard reseller and salesofices can bill to each other. How it's sounds. Keep on smiling.. Regards Cem
Recommended Posts
Archived
This topic is now archived and is closed to further replies.