oblivion77 Posted March 10, 2006 Posted March 10, 2006 My website, http://www.angeliboutique.com, is not working correctly. Originally I set up everything on the website and everything worked. I believe that something happened on the hosting end because I haven't made any changes to the site for about a month and it stopped working correctly. For some reason the links in the main top menu are trying to link to the https address. For example if you click on contact us it goes to https://server4.sslpage.com/angelibo/contact-us.html, when it should go to http://www.angeliboutique.com/contact-us.html. I haven't touched the site for a little over a month and everything worked correctly then. The other places it is doning it is on the Page Results when you click on the next page. For example: http://www.angeliboutique.com/robeez-c-39_40.html Does any one have any ideas? Thanks for you help :-)
oblivion77 Posted March 15, 2006 Author Posted March 15, 2006 I found out what is causing my problem but I do not know how to fix it. This is really confusing and I'm totally stumped. So any help would be greatly appreciated. Here is my problem: in the source of all my html pages my base href is <base href="https://server4.sslpage.com/angelibo/"> when it should be <base href="http://www.angeliboutique.com/"> This is what is causing the websites hyperlinks to got to https pages instead of http pages. In my index.php I found this code, does anyone think I should modify it? <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> Here is my configure.php which I am guessing is causing the problem, but I can't figure it out. What I do know is that I have several other websites that are identical and they are all working but they are with a different hosting company. Could this be a problem with the hosting company? Any help at all would be much appreciated :-) define('HTTP_SERVER', 'http://www.angeliboutique.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://server4.sslpage.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.angeliboutique.com'); define('HTTPS_COOKIE_DOMAIN', 'www.angeliboutique.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/angelibo/'); 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', '/home/angelibo/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // CLR 020605 defines needed for Product Option Type feature. define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); define('PRODUCTS_OPTIONS_TYPE_RADIO', 2); define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3); define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4); define('TEXT_PREFIX', 'txt_'); define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES
AlanR Posted March 15, 2006 Posted March 15, 2006 Read through this and the subsequent posts... http://www.oscommerce.com/forums/index.php?sho...23entry672623 And this: define('HTTPS_COOKIE_DOMAIN', 'www.angeliboutique.com'); should be: define('HTTPS_COOKIE_DOMAIN', 'server4.sslpage.com/angelibo'); and define('DIR_WS_HTTPS_CATALOG', '/angelibo/'); define('DIR_WS_HTTPS_CATALOG', '/'); Any define server line should be an address which will take you to an actual page in any mode, osC or not. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.