janggu Posted June 20, 2004 Share Posted June 20, 2004 Hi there, I got a shared SSL url from my web hosting company and it works well. However, I just noticed that once the SSL url kicks in, all the other pages are still linked with the SSL url. As a result, my main navigation won't work properly and I am getting "Page not Found" error on a couple of pages (login page and right after the final order page) because I set up the osCommerce site as a separated directory from the main site. When I changed the SSL setting to "false" in confiugre.php "define('ENABLE_SSL', false);", I don't have any problems. Does anyone have any idea how to resolve this issue? Is it possible to disable SSL after finishing the order? Thanks very much in advance! Link to comment Share on other sites More sharing options...
vasttech Posted June 20, 2004 Share Posted June 20, 2004 It should automatically switch itself. If you are on an SSL page such as create_account.php and then click the link for what's new it should automatically go to nonssl. Can you post your site so we can take a look? It sounds like you have something hardcoded in there for urls. osCommerce Knowledge Base osCommerce Documentation Contributions Link to comment Share on other sites More sharing options...
yanngoyan Posted June 20, 2004 Share Posted June 20, 2004 I got the same problem. If login by clicking MY ACCOUNT on the top, I can arrive my account page successful. If login via clicking LOG YOURSELF IN on the main page, or click the CONTINUE button on the checkout?_auccess page, I got eror like this: Not Found The requested URL /catalog/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. My site is here: http://www.luckink.com My confiugre.php setting: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.luckink.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://svr67.ehostpros.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.luckink.com'); define('HTTPS_COOKIE_DOMAIN', 'www.luckink.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~luckin67/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/'); Thank you for help! Link to comment Share on other sites More sharing options...
AlanR Posted June 20, 2004 Share Posted June 20, 2004 I got the same problem. If login by clicking MY ACCOUNT on the top, I can arrive my account page successful. If login via clicking LOG YOURSELF IN on the main page, or click the CONTINUE button on the checkout-_auccess page, I got eror like this: Your site works fine without the frameset. ie: http://www.luckink.com/catalog/ The frameset is screwing things up. 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) Link to comment Share on other sites More sharing options...
yanngoyan Posted June 21, 2004 Share Posted June 21, 2004 Thanks AlanR. I tried move all the files and subdirectories of catalog document to main directory, Then the site run without the frameset, also I changed the confiugre.php setting like this: define('HTTP_SERVER', 'http://www.luckink.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://svr67.ehostpros.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.luckink.com'); define('HTTPS_COOKIE_DOMAIN', 'www.luckink.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/~luckin67/'); 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/'); Then I click on "log yourself in", I got pobup security message, and get in the login page, There has a little lock on the bottom. Then I input my email and password and click on the "Sign In" button. Unhappily I got an error message: The page cannot be found. The page you are looking for might have removed, had it sname changed,or is temporarily unavailable. Thanks again for help me more!!! My site is here: http://www.luckink.com Link to comment Share on other sites More sharing options...
AlanR Posted June 21, 2004 Share Posted June 21, 2004 Works fine for me. [email protected] password = password I would change these lines though define('HTTPS_SERVER', 'https://svr67.ehostpros.com'); to: define('HTTPS_SERVER', 'https://svr67.ehostpros.com/~luckin67'); define('DIR_WS_HTTPS_CATALOG', '/~luckin67/'); to: define('DIR_WS_HTTPS_CATALOG', '/'); 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) Link to comment Share on other sites More sharing options...
yanngoyan Posted June 22, 2004 Share Posted June 22, 2004 It was unsuccessfully for me. When I changed confiugre.php setting to: define('HTTPS_SERVER', 'https://svr67.ehostpros.com/~luckin67'); Then mouseon "Log Yourself in", on the taskbar show the line has double the "/~luckin67" seems: https://svr67.ehostpros.com/~luckin67"...id=************ Then click on "Log Yourself in", the "Cannot found page" massage appeared. and cannot enter the login.php. I don't know what I missing about it. Thank you very much again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.