Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL continued ..


teamVar

Recommended Posts

I asked a couple of days back about SSL installation, and this what was said ...

 

"

Make sure you order your SSL cert on http://www.yoursite.com, or http://yoursite.com, and make sure your host installs it the same way. Make sure they're on the same page. Once it's installed, then go to your catalog/includes/configure.php file and make it so it looks like this around line 13:

 

// Define the webserver and path parameters

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

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

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

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

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

 

Set it to true. Do the same thing in your catalog/admin/includes/configure.php file, except change all the http's to https's, and set the SSL to true.

 

Then you're all secure and ready to receive payments!

 

"

 

I tried that, but my shop is actually on a subdomain of the server - shop.mydomain.com

 

Im not sure what i need to be changing to take this into account, have tried various combinations but having no luck. When i click on 'My Account' or 'Checkout', it does try to goto https://shop.mydomain.com/account.php?osCsid=1ce2282789e5 etc... but it just comes up with page cannot be displayed?

 

Any and all input would be much apppreciated. Thanks!

Link to comment
Share on other sites

Yeah, I said the above-mentioned. So you're on a subdomain; just change you catalog/includes/configure.php file and catalog/admin/includes/configure.php file to reflect the fact that you're on a subdomain. You know how to do that.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

What's your website addy? I'll look at it. Are you using a shared SSL? If that's the case, then you'd have to put your configure.php files something like:

 

where it says:

define ('HTTPS_SERVER', 'https://yourdomain.com')

You have to change that to:

define ('HTTPS_SERVER', 'https://secure.yourhost.com/~yourdomain

 

Or something similar, which your host should provide you with.

 

Can you post your site? That would help.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Well, anyway, you need to ensure that the following lines in configure.php are exactly the same in two congifure.php files, or you will get the 404 error.

 

define('DIR_WS_HTTP_CATALOG', '/subdomain/');

define('DIR_WS_HTTPS_CATALOG', '/subdomain/');

 

Maybe that's what you're having problems with.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Well, anyway, you need to ensure that the following lines in configure.php are exactly the same in two congifure.php files, or you will get the 404 error.

 

define('DIR_WS_HTTP_CATALOG', '/subdomain/');

define('DIR_WS_HTTPS_CATALOG', '/subdomain/');

 

Maybe that's what you're having problems with.

 

Am very sorry for the late reply mate, iv had a lot on!

 

I'l pm you my address now...

 

However, i have setup a new shop, and added the ssl during install (in root not subdomain this time) and im STILL having the same problem hehe. Can you look at the new one please?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...