Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL on site


tomandwendy

Recommended Posts

Posted

Hi, I was wondering if I have it down correctly...

 

I have installed the SSL and everything is working fine except for the issue of the message "You are about to enter and secure nonsecure area, would you like to continue, yes no cancel" To fix this, am I correct it adding a folder to my "www" called https and adding the images directory to this folder? or have I read wrong......please let me know.......

 

Tom

Posted

That may or may not be true.

 

It might be something totally different.

 

I'd need the URL to your site to help out.

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 >

Posted

I'm not sure if this helps, but after a lot of experimenting I came up with this setup. It makes your login and checkout area SSL encrypted and it displays images without any problems. There are double slashes in some paths. Just saying in case you think they are typos. Adjust your catalog\includes\configure.php file like this:

 

<?php
 define('HTTP_SERVER', 'http://www.yoursite.com');
 define('HTTPS_SERVER', 'https://www.yoursite.com');
 define('ENABLE_SSL', 'true');
 define('HTTP_COOKIE_DOMAIN', 'www.yoursite.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://www.yoursite.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/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/content/HostPlus/p/r/yoursite.com/web//');		////// just an example. You should know the correct path
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'mysql.server.net');	 ////// your msql server
 define('DB_SERVER_USERNAME', 'xxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxx');
 define('DB_DATABASE', 'xxxxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

In your admin area do this in order to be able to make it SSL encrypted and see images:

catalog\admin\includes\configure.php

 

<?php
 define('HTTP_SERVER', 'http://www.yoursite.com');
 define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com/');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/content/HostPlus/p/r/yoursite.com/web//');	  ////// just an example. You should know the correct path
 define('DIR_WS_ADMIN', 'admin/');
 define('DIR_FS_ADMIN', '/content/HostPlus/p/r/yoursite.com/web//admin/');		////// just an example. You should know the correct path
 define('DIR_WS_CATALOG', 'http://www.yoursite.com/');
 define('DIR_FS_CATALOG', '/content/HostPlus/p/r/yoursite.com/web//');		////// just an example. You should know the correct path
 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/');

 define('DB_SERVER', 'mysql.server.net');	 ////// your msql server
 define('DB_SERVER_USERNAME', 'xyxyxyxyxyxy');
 define('DB_SERVER_PASSWORD', 'yxyxyxy');
 define('DB_DATABASE', 'xxxxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Posted

And it might have nothing to do with your configure files.

 

Some cases in point:

 

Click Me

 

That's why I said whomever is going to help you needs a link to your site. Otherwise, they could guess at what's wrong for years and still never get it.

 

Looking at the site in the browser is worth a million guesses.

 

If you don't want to post it, PM 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 >

Posted
I was wondering if you had time to look at that yet?

Why not simply post the URL so someone else can help you?

 

I've got time now to take a look, but won't necessarily have time later. That's probably true for others as well. You don't have to make it a link, just the domain name will do.

Posted

Make the link to the Paypal image in your footer HTTPS

 

It's just HTTP now, that is at least part of what your problem is.

 

If you need help, post your /catalog/includes/footer.php file (or PM it to me)

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 >

Archived

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

×
×
  • Create New...