Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL HELP!!


AuraDev

Recommended Posts

I'm trying to get this SSL working, but it keeps popuping up that there are secure and non secure items on the page. How do I configure it right. My webhosting company installed the SSL Certificate.

 

http://churchproaudio.com/catalog/

 

try to buy something use this login

 

[email protected]

 

pass- help

 

Thanks,

-Chris

Link to comment
Share on other sites

I am getting an error that your certificate is invalid. However, on the secure pages, your page is showing secure if you right click -> properties the page or images. Of course, there is no padlock, so there is something wrong.

 

Post the 3 lines of your /catalog/includes/configure.php HTTP, HTTPS, HTTPS Checkout here so we can see what your doing.

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://churchproaudio.com');

define('HTTPS_SERVER', 'https://churchproaudio.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

Link to comment
Share on other sites

Thanks, I did that checked the security, its working. Now how do I make it so that it doesn't display insecure items when it goes into secure mode? I don't want it to popup that "This page displays secure and insecure items" warning every time the customer advances to the next step in checkout.

 

-Chris

Link to comment
Share on other sites

There are a number of things that can cuase this. It's trial and error to find out...

 

The first thing I recommened trying...

 

change /catalog/includes/configure.to to

 

define('ENABLE_SSL', 'false')

 

See if that works. If not, you can try this...

 

If you don't already have this section in /catalog/inlcudes/application_top.php -- try adding this:

 

// set the type of request (secure or not)

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

#$request_type = (eregi($HTTP_HOST, $HTTPS_SERVER)) ? 'SSL' : 'NONSSL';

 

 

Hope that helps and gets you going.

Link to comment
Share on other sites

Sorry... in application_top.php

 

#$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

$request_type = (eregi($HTTP_HOST, $HTTPS_SERVER)) ? 'SSL' : 'NONSSL';

Link to comment
Share on other sites

I figured it out, thanks for helping me get it setup right, but after that, the problem was that the images in the banner were not secure, so when the site accessed them in secure checkout mode, it brought up the error. It was a quick fix once I figured it out.

 

Thanks for your help!

 

-Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...