Guest Posted March 17, 2003 Share Posted March 17, 2003 OK, I have looked in the forums and have not found an answer to this specific issue...I cannot get the ENABLE_SSL function to work. It is enabled in both configure.php files, but does not affect what is actually displayed on my page. The checkout links are not showing the SSL URL. After some palying around with different files, I traced the URL functions to the html_output. There I changed: if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_CATALOG; } else { $link=HTTPS_SERVER . DIR_WS_CATALOG . $connection; } } else { die(ect.) } to: if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_CATALOG; } elseif ($connection == 'SSL') { if (ENABLE_SSL == true) { $link = HTTPS_SERVER . DIR_WS_CATALOG; } elseif ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_CATALOG; } else { $link=HTTPS_SERVER . DIR_WS_CATALOG . $connection; } } else { die( ect. ) } and this appeared to solve my issue. Now all the appropriate links have SSL enabled. So my question is this: If the ENABLE_SSL is not true or false, what else could it be. My configure.php is: define('ENABLE_SSL', true); I am totally confused about what is hanging me up, but I do believe that it has to do with the declaration of ENABLE_SSL, but I don't know how else it could be defined. I know that the links are passing 'SSL', but the ENABLE command that is throwing me. Thank you for your help Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2003 Share Posted March 17, 2003 Make sure in both catalog and admin/includes/configure.php that you have put your SSL address define('HTTP_SERVER', 'http://www.your domain.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://your SSL address.com/~username/'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL','true'); // secure webserver for checkout procedure? Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2003 Share Posted March 17, 2003 That has already been done. I have had it that way for a week.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.