yazawa Posted December 29, 2008 Share Posted December 29, 2008 I'm working on my second OSC page. On the first, I had no problem accessing the Create Account, Account Login, and other pages. On my new OSC site, I keep getting the Invalid Security Certificate error. I get this because on my second OSC pages, the links to the problem pages begin with "HTTPS", for an SSL secure page. Since I cannot afford to pay for a dedicated IP address required to get an SSL for a site that has very little traffic, I am not planning to get one at this time, instead, relying on keeping the financial transactions secure through PayPal's system. The problem I face is how do I remove all the HTTPS links without searching through all OSC files, one at a time? It's frustrating because I don't want to screw up my OSC system by changing the wrong file(s). Is there an easy setting to do this that I haven't found yet on the administration page? I find it weird that I didn't face this issue on my first OSC site, which is hosted by the same company. Thanks Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 /catalog/includes/configure.php define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? Set those like that and no HTTPS links should be generated. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
yazawa Posted December 29, 2008 Author Share Posted December 29, 2008 /catalog/includes/configure.php define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? Set those like that and no HTTPS links should be generated. Thanks for the prompt reply. Made the changes, but I still get the HTTPS for the Create Account, Login Account pages. The code in the files you mentioned have a comment about the code being used for the check-out procedure. What file would cover the same thing for the user account pages? Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 See if this file exists on the server: /catalog/includes/local/configure.php If so it may have lines like this: define('HTTPS_SERVER', 'https://yoursite.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 1); They should be changed to: define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 0); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
yazawa Posted December 29, 2008 Author Share Posted December 29, 2008 See if this file exists on the server: /catalog/includes/local/configure.php If so it may have lines like this: define('HTTPS_SERVER', 'https://yoursite.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 1); They should be changed to: define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 0); I have the /local/ directory, but there is no configure.php file in it. Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 Then I guess you'll just have to find the SSL links, one at a time, and change them to NONSSL "Standard" non modified osC code won't use SSL unless the configure file specifies it. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.