Samika Posted March 27, 2006 Posted March 27, 2006 I have tried to search the forums and have found no help if I have just missed it i am sorry for reposting. I have installed the SSL cert on my site and I set all of the settings in both configure.php's(even tried many different veriations) and it does not even attempt to use SSL on the checkout or login, in the settings it says that I have SSL enabled but it does nothing. It does work if I type in https, but it wont do it on its own. Any help on this would be very much appreciated. Thanks, Samika
macparts Posted March 27, 2006 Posted March 27, 2006 I have tried to search the forums and have found no help if I have just missed it i am sorry for reposting. I have installed the SSL cert on my site and I set all of the settings in both configure.php's(even tried many different veriations) and it does not even attempt to use SSL on the checkout or login, in the settings it says that I have SSL enabled but it does nothing. It does work if I type in https, but it wont do it on its own. Any help on this would be very much appreciated. Thanks, Samika Your files should look something like this. I am guessing that you do not have the ENABLE_SSL', 'true set correctly efine('HTTP_SERVER', 'http://www.spectrumsupply.com'); define('HTTPS_SERVER', 'https://www.spectrumsupply.com'); define('ENABLE_SSL', 'true');// secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.spectrumsupply.com'); define('HTTPS_COOKIE_DOMAIN', 'www.spectrumsupply.com');
Samika Posted March 27, 2006 Author Posted March 27, 2006 Your files should look something like this. I am guessing that you do not have the ENABLE_SSL', 'true set correctly efine('HTTP_SERVER', 'http://www.spectrumsupply.com'); define('HTTPS_SERVER', 'https://www.spectrumsupply.com'); define('ENABLE_SSL', 'true');// secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.spectrumsupply.com'); define('HTTPS_COOKIE_DOMAIN', 'www.spectrumsupply.com'); mine looks just like that without a www or 2 but i have tried it that way as well nothing works the true is set to on in both config files i may be using a older version of oscommerce tho i dont know if that makes a difference
custodian Posted March 27, 2006 Posted March 27, 2006 mine looks just like that without a www or 2 but i have tried it that way as well nothing works the true is set to on in both config files i may be using a older version of oscommerce tho i dont know if that makes a difference can you post the entire configure.php file remove the db username and password when posting My Contributions Henry Smith
Samika Posted March 27, 2006 Author Posted March 27, 2006 define('HTTP_SERVER', 'http://www.skyyeco.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://skyyeco.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.skyyeco.com'); define('HTTPS_COOKIE_DOMAIN', 'skyyeco.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'www.skyyeco.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
Samika Posted March 27, 2006 Author Posted March 27, 2006 I dont have anything in the username and password actually, could that be that prob?
custodian Posted March 27, 2006 Posted March 27, 2006 I dont have anything in the username and password actually, could that be that prob? The user name and password is what is used to connect to your database where your products are My Contributions Henry Smith
Samika Posted March 27, 2006 Author Posted March 27, 2006 Everything works except the SSL should i add the login to see if it help the SSL or will that do nothing for the SSL
custodian Posted March 27, 2006 Posted March 27, 2006 define('HTTPS_COOKIE_DOMAIN', 'skyyeco.com'); change to define('HTTPS_COOKIE_DOMAIN', 'www.skyyeco.com'); My Contributions Henry Smith
custodian Posted March 27, 2006 Posted March 27, 2006 I think I see your problem. Your server keeps sending the site to skyyeco.com NOT www.skyyeco.com try removing all www. from all http and https, cookie entries etc.. The SSL cert is for skyyeco.com not www.skyyeco.com My Contributions Henry Smith
custodian Posted March 27, 2006 Posted March 27, 2006 define('HTTP_SERVER', 'http://skyyeco.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://skyyeco.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'skyyeco.com'); define('HTTPS_COOKIE_DOMAIN', 'skyyeco.com'); The lack of db username and password is VERY odd - I don't know how you are accessing it without it. You should be able to My Contributions Henry Smith
Samika Posted March 27, 2006 Author Posted March 27, 2006 i will add it in and see if it does anything
custodian Posted March 27, 2006 Posted March 27, 2006 Are you sure the cert is set up correctly? I still get a popup even if I go to https://skyyeco.com And I shouldn't My Contributions Henry Smith
Samika Posted March 27, 2006 Author Posted March 27, 2006 its a temporary but if you accept it, it locks fine
Samika Posted March 27, 2006 Author Posted March 27, 2006 do you have an IM this would easier that way
♥Vger Posted March 27, 2006 Posted March 27, 2006 Your https links are still pointing to http - which is why you don't get the padlock. If the file you posted above is correct then you may have an alternative configure.php file in the includes/local/ folder (which has priority over the includes/configure.php file). Check in the local folders and if you find any configure.php files in them then either rename those files or delete them. Vger
Samika Posted March 28, 2006 Author Posted March 28, 2006 Omg thank you sooooo much I was stressing over that so much, i didnt delete it tho because that is where the database info was stored and why it was not in the other file i changed the SSL option in that file to 1 instead of 0 and it works now. Thank you soo soo so much, you dont know how much you have helped. Samika
Guest Posted March 28, 2006 Posted March 28, 2006 I dont have anything in the username and password actually, could that be that prob? I have been following your post as I think I have the same problem. Everything seems to work well on my site but no padlock showing. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.spicksandspecks.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://securespicksandspecks.ourssl.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.spicksandspecks.com'); define('HTTPS_COOKIE_DOMAIN', 'securespicksandspecks.ourssl.net'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
Guest Posted March 28, 2006 Posted March 28, 2006 Your https links are still pointing to http - which is why you don't get the padlock. If the file you posted above is correct then you may have an alternative configure.php file in the includes/local/ folder (which has priority over the includes/configure.php file). Check in the local folders and if you find any configure.php files in them then either rename those files or delete them. Vger Still following these posts. I checked my file as above and am not sure what to do or if this applies to me. My site works fine (I think) but no padlock showing. This is my includes/local/configure file <? define('HTTP_SERVER', 'http://spicksandspecks.com'); define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/belinda/spicksandspecks.com/'); define('DIR_FS_LOGS', '/hsphere/local/home/belinda/logs/spicksandspecks.com'); define('ENABLE_SSL', 0); // define our database connection define('DB_SERVER', 'mysql3.ourinternet.us'); define('DB_SERVER_USERNAME', 'belinda_osc'); define('DB_SERVER_PASSWORD', 'sleeper'); define('DB_DATABASE', 'belinda_osc'); define('CONFIGURE_STATUS_COMPLETED', 1); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Thanks in advance Belinda.
custodian Posted March 28, 2006 Posted March 28, 2006 I have been following your post as I think I have the same problem. Everything seems to work well on my site but no padlock showing. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.spicksandspecks.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://securespicksandspecks.ourssl.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.spicksandspecks.com'); define('HTTPS_COOKIE_DOMAIN', 'securespicksandspecks.ourssl.net'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> It seems that you store is ALSO installed on the root level as well. Take these lines define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); and try define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); My Contributions Henry Smith
custodian Posted March 28, 2006 Posted March 28, 2006 Darn - I forgot about the local file... I guess you could rename the configure.php file in your local dir to somethign else so OSC uses the other one instead.. but you have to se tthe use name and password and db name in the other configure.php if it's not in there. BTW: you really should have posted the file with you info in it. That's asking for bad mojo My Contributions Henry Smith
Samika Posted March 28, 2006 Author Posted March 28, 2006 in the config file in the local folder your SSL is set to 0, change the 0 to 1 and that may work thats what i did
Recommended Posts
Archived
This topic is now archived and is closed to further replies.