Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL? HELP!!!


Guest

Recommended Posts

Help! Website designer has deserted us. Have SSL through GoDaddy. Supposedly installed. However, in OSCommerce Admin, as soon as we log in, there is a message on the left column that says we are NOT protected by SSL. Additionally, in the website, in our checkout- the address bar shows https:, but there is not a lock symbol displayed at the bottom of the page.

 

Could some one please explain in extremely basic instructions how this can be corrected?

 

We have already printed out instructions from the Knowledge Base, but can't even find how to get to the confiruation path in step 1.

Link to comment
Share on other sites

You have to enable the ssl in the admin/includes/configure.php for it to work in admin. You will need to change these two lines

  define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false');

For the shop side, since the url is switching to https, the problem is probably that you have a non-secure link on the page.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Followed the instructions to modify the code as suggested. It did not change anything that I can see.

 

Still receiving a message that says "You are NOT protected by a secure SSL connection" on the first page after login.

 

Any other ideas out there?

Link to comment
Share on other sites

Try posting your configure file here, minus the sensitive data.

 

Jack

 

 

I believe this is it. Hope I haven't removed too much.

 

<?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', ' '); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', ' ');

define('HTTPS_CATALOG_SERVER', ' ');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/ / / / /html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/oscadmn/'); // absolute path required

define('DIR_FS_ADMIN', '/home/content/ / / / /html/oscadmn/'); // absolute path required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/content/ / / / /html/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// Added for Templating

define('DIR_FS_CATALOG_MAINPAGE_MODULES', DIR_FS_CATALOG_MODULES . 'mainpage_modules/');

define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/');

define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/');

 

// define our database connection

define('DB_SERVER', 'mysql .secureserver.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', ' ');

define('DB_SERVER_PASSWORD', ' ');

define('DB_DATABASE', ' ');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I believe this is it. Hope I haven't removed too much.

 

<?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', ' '); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', ' ');

define('HTTPS_CATALOG_SERVER', ' ');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/ / / / /html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/oscadmn/'); // absolute path required

define('DIR_FS_ADMIN', '/home/content/ / / / /html/oscadmn/'); // absolute path required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/content/ / / / /html/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// Added for Templating

define('DIR_FS_CATALOG_MAINPAGE_MODULES', DIR_FS_CATALOG_MODULES . 'mainpage_modules/');

define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/');

define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/');

 

// define our database connection

define('DB_SERVER', 'mysql .secureserver.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', ' ');

define('DB_SERVER_PASSWORD', ' ');

define('DB_DATABASE', ' ');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

I think that should be true instead of false.

Link to comment
Share on other sites

That is the configure file for your admin section. You need to post the one for the shop.

 

Jack

 

 

What is the name/location of the configure file for the shop?

 

Do I need to change the earlier "define('ENABLE_SSL_CATALOG', 'false' back to 'true' as it was originally?

Link to comment
Share on other sites

The shops configure file is in the includes directory, not the admin/includes directory. The one you changed is for the admin section, which means your admin has ssl enabled, and that is fine.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The shops configure file is in the includes directory, not the admin/includes directory. The one you changed is for the admin section, which means your admin has ssl enabled, and that is fine.

 

Jack

 

Jack,

 

Thank you, my wife is doing this to our website, trying to straighten out our web designers mess! She had to leave today for a two day seminar, and will not be back untill Friday! Now that she will know where to find the correct files she will put them up on Friday. If I were to try, it would take a miracle to probably get anything to ever work again! We do greatly appreciate your help and look forward to your helping after she returns and gets the info up on Friday!

 

Thanks Again,

 

Gary L. Beck

Link to comment
Share on other sites

Jack,

 

I believe this is the includes configure file (minus sensitive info)

But I don't even see the 2 lines of code you suggested we change in this file.

 

 

 

Define the webserver and path parameters

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

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

define('HTTP_SERVER', 'http://www. .com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www. .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. .com');

define('HTTPS_COOKIE_DOMAIN', ' .com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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/');

 

//Added for BTS1.0

define('DIR_WS_TEMPLATES', 'templates/');

define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');

define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');

//End BTS1.0

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/content/ / / / /html/');

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

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

 

// define our database connection

define('DB_SERVER', ' .secureserver.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', ' ');

define('DB_DATABASE', ' ');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

For the admin problem, change these lines (in admin/includes/configure.php)

define('HTTPS_CATALOG_SERVER', ' ');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

to this

define('HTTPS_CATALOG_SERVER', ' https://www.yoursite.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

For the shop side, the configure file looks fine. The problem is probably due to an non-secure link on the page. This is usually a link to an external site, google analytics code, adsense code and the like.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

For the admin problem, change these lines (in admin/includes/configure.php)
define('HTTPS_CATALOG_SERVER', ' ');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

to this

define('HTTPS_CATALOG_SERVER', ' https://www.yoursite.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

For the shop side, the configure file looks fine. The problem is probably due to an non-secure link on the page. This is usually a link to an external site, google analytics code, adsense code and the like.

 

Jack

Link to comment
Share on other sites

I am unaware of any link to any external site. What do I try now? Also, I still don't know how to get the lock to appear on the website where we are asking for customer information.

Link to comment
Share on other sites

Well, forum members.... all these posts, yet both my problems still exist and I have no solutions that have worked.

 

It appears from reading, that we are not the only ones who have this exact same problem. I request that the forum moderators check into the SSL problems as there are multiple users who feel these are critical issues to the success of their business.

 

Any help will be greatly appreciated.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...