Bubbalex Posted August 27, 2008 Posted August 27, 2008 I have followed the SSL 123’s and I still get no signs of a secure site except when I manually ad the “s” in http://. Once someone clicks on the login or create an account link they should be directed to a secure page correct? My certificate was issued from GoDaddy and in the name roaddawg5k.com. I would appreciate any help. My site is located at www.roaddawg5k.com/catalog/ My admin/includes/configure looks like this: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://roaddawg5k.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://roaddawg5k.com'); define('HTTP_CATALOG_SERVER', 'http://www.roaddawg5k.com'); define('HTTPS_CATALOG_SERVER', 'https://roaddawg5k.com'); define('ENABLE_SSL_CATALOG', 'TRUE'); // secure webserver for catalog module My catalog/includes/configure looks like this: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.roaddawg5k.com'); define('HTTPS_SERVER', 'https://roaddawg5k.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.roaddawg5k.com'); define('HTTPS_COOKIE_DOMAIN', 'roaddawg5k.com'); define('HTTP_COOKIE_PATH', 'catalog'); define('HTTPS_COOKIE_PATH', 'catalog'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/');
shooter-boy Posted August 27, 2008 Posted August 27, 2008 Something is wrong... your live site doesn't match the config you have shown... The current site at http://www.roaddawg5k.com/catalog/ is configured to run under http://roaddawg5k.com/catalog/ , so the config file doesn't match at all. If you remove the configure.php (or rename) file on your server, does the site break? If not, then you are updating the wrong file, or doing something that isn't working. If it does, try removing it and replacing with your file you have post. Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Bubbalex Posted August 27, 2008 Author Posted August 27, 2008 Rob, I renamed the file and I get Warning: main(includes/configure.php): failed to open stream: No such file or directory in /hsphere/local/home/mjpcsolu/roaddawg5k.com/catalog/includes/application_top.php on line 29 Warning: main(includes/configure.php): failed to open stream: No such file or directory in /hsphere/local/home/mjpcsolu/roaddawg5k.com/catalog/includes/application_top.php on line 29 Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.:/usr/local/share/pear') in /hsphere/local/home/mjpcsolu/roaddawg5k.com/catalog/includes/application_top.php on line 29 I then copied both configure files on the server to another location and they still read the same as posted. Any other try suggestions? I appreciate your help!
Bubbalex Posted August 27, 2008 Author Posted August 27, 2008 I just went back to the original “How to install SSL on OSC: A Simple 1-2-3 Instruction” and have a few questions. Based on the line “assign your SSL to either http://www.yoursite.com, or http://yoursite.com -- but make sure the host and the SSL company are on the same page, and both do the same thing.” This is what I have: My web host has “roaddawg5k.com” with www.roaddawg5k.com set under a server alias & Cert. was issued under “roaddawg5k.com”. Based on the below, I have tried it with both the www and without yet I still get no SSL lock. 6) In includes/configure.php, set the SSL to "true"; it should look something like this near the top, if you assigned the SSL to www.yoursite.com: define('HTTP_SERVER', 'http://www.yoursite.com'); define('HTTPS_SERVER', 'https://www.yoursite.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.yoursite.com'); define('HTTPS_COOKIE_DOMAIN', '.yoursite.com'); (7) In admin/includes/configure.php, set the SSL to "true" and add an "s" after all the http's. So it'll look something like this, if assigned to www.yoursite.com: define('HTTP_SERVER', 'https://www.yoursite.com/'); define('HTTP_CATALOG_SERVER', 'https://www.yoursite.com/'); define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com/'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module I’m getting frustrated so any help would be very much appreciated.
shooter-boy Posted August 28, 2008 Posted August 28, 2008 Hmmm... That is really odd... So your catalog/includes/configure.php definately has the ENABLE_SSL set to true? Is your install a fresh install? (ie, no contributions)? Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
Bubbalex Posted August 28, 2008 Author Posted August 28, 2008 Rob, I fixed the SSL problem. Based on your reply I decided to start a completely fresh Oscommerce install. From there I went through the Oscommerce/Administration/File Manager area. Once I reset the permissions for me to write to the configure files I was able to add the SSL information. I don’t understand why it would not accept me uploading those files, but at least it now works. Thanks for your help. Mark
Recommended Posts
Archived
This topic is now archived and is closed to further replies.