Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The Soultion to shared ssl problems!


eternity575

Recommended Posts

I solved most of my problems by having my own SSL certificate. To me, I think it is worthy to pay more. After all, I only pay less than $3.00/month for my hosting plan and get 1GB space. :D

Please PM me with the name of your host. Mine doesn't have a public_ssl folder, so I'm not sure where or how my SSL pages are stored. But I have "page not found" errors frequently when people hit "confirm order", often resulting in duplicate cc charges & incomplete cart updates in OSc. I've tried increasing the script timeouts and php timeouts, but still can't fix it. So maybe it's an SSL issue.

 

thx!

Link to comment
Share on other sites

I was testing the site after those ssl settings and one thing is wrong, but I am not sure if it is due to the ssl settings. In the order process email you can click on the link to see your order, and it brings you to the log in page as follows:

 

https://yourhostingcompany/~username/catalo....php?order_id=5

 

However, when I update the order from pending to processing..it sends out an email but leaves out the /~username/ portion as follows:

 

https://yourhostcompany/catalog/account_his....php?order_id=5

 

Since they link sent in order update is the shared ssl link, I was wondering if the shared ssl settings have to do with leaving out that part of the link.

 

I would like to see if the problem can be narrowed down to the settings for shared ssl..so anyone else who uses shared ssl settings have this problem?

Link to comment
Share on other sites

I still don't see why you guys are having to put another osc in an ssl folder. The ssl secures the data on my server in the regular folders. I have sharded ssl and didn't have to do anything but turn it on in osc and set the proper paths. If your host gives you ssl your all set. The only thing I dont like about the shared ssl is the domain switches from mydomain.com to my host domain during ssl in the address bar.

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

I finally got the OSCommerce 2.2 MS2 installed on my Windows 2003 running PHP 4.3.4 and IIS6. :D However, I now run into some problems with the SSL settings in OSCommerce.

 

The SSL certificate is installed correctly on my Windows 2003 box (my own certificate, not share). When I go to a test page ( https://www.piaawarehouse.com/test.php ), it will show the SSL lock at the bottem right hand corner. And here is a picture showing it

piaawarehouse001.jpg

 

However, the SSL lock will disappear if I go to an OSCommerce page ( https://www.piaawarehouse.com/catalog/index.php ). But if I click on the place where the SSL lock would be, then the certificate information page will show up. Below is a screen shot of it. :unsure: :unsure: :unsure:

piaawarehouse002.jpg

 

My gut feeling is telling me that some thing is not set correctly in the configure.php file under "catalog/includes" directory. Maybe the https catalog/cookie settings?

 

I copied and pasted those settings below. Remember, I am running this on a Windows 2003 box. :(

 

// Define the webserver and path parameters

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

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

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

define('HTTPS_SERVER', 'https://www.piaawarehouse.com/catalog'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.piaawarehouse.com');

define('HTTPS_COOKIE_DOMAIN', 'https://www.piaawarehouse.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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

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

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...