Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL not working


urbunner

Recommended Posts

I have a store set up on my website and I only want it to transfer to a secure SSL line when they login or checkout

This is what it reads in the configure.php file

 

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

 

The HTTPS_ SERVER is set correctly

 

Now when I try to login or checkout it pops up a 404 error page cannot be found

 

When the above line is set to false the regular login page comes up fine.

I'm not sure what else I need to change to ensure a secure line

Also this is a shared SSL if that makes any difference

Link to comment
Share on other sites

My settings are

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

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

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

define('HTTP_COOKIE_DOMAIN', 'aliadventures.com');

define('HTTPS_COOKIE_DOMAIN', 'st127.startlogic.com/~aliadven');

define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');

define('HTTPS_COOKIE_PATH', '/osCommerce/catalog/');

define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/osCommerce/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', '/home/aliadven/public_html/osCommerce/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

From what I can tell all pretty standard

the website is

http://aliadventures.com

click on the online store button in the top right corner

Link to comment
Share on other sites

I have a store set up on my website and I only want it to transfer to a secure SSL line when they login or checkout

This is what it reads in the configure.php file

 

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

 

The HTTPS_ SERVER is set correctly

 

Now when I try to login or checkout it pops up a 404 error page cannot be found

 

When the above line is set to false the regular login page comes up fine.

I'm not sure what else I need to change to ensure a secure line

Also this is a shared SSL if that makes any difference

 

I am tring to do what you are so I will follow this thread. I do know that based on the configure file you show you need to change this:

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

 

to include the user name (or domain) from your hosting company. Much like you did with your https cookie domain.

So wouldn't the correct thing be:

define('HTTPS_SERVER', 'https://st127.startlogic.com/~aliadven');

 

With Yahoo instead of a user id they have us use our domain name with out the www. but I am sure Startlogic has a place where they provide that info for you. Mine looks like this (with Yahoo)

define('HTTPS_SERVER','https://s.p10.hostingprod.com/@jteverettdesignstudio.com');

 

But the problem I am having is on the login page, when you try to go click the create account link the page comes up blank. Also I get warnings that there are secure and non-secure items- how much needs to be in the ssl section to prevent this, or better yet would I need to manually edit the pages that fall under the ssl (create_account, login, etc.) to change the image src's to the ssl directory?

And another question, or to better clarify, my whole site is under "MyStore" and then my secure pages are under "MyStore/ssl" now I uploaded all the same pages that are under "MyStore" to "MyStore/ssl" so it is like having them on two directories that are the same. Is it best just to have only the affected pages under the ssl directory or is it necessary to do what I have done?

If I only need the affected pages, then which pages are there as I have only encountered the create_account and login pages so far. Until my fix of why the login page is blank I can't identify the rest of them.

Thanks so much for any and all help!

Pattie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...