osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

SSL Issue / Help

This is a discussion on SSL Issue / Help within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I am pulling my hair out trying to figure this out, so I really hope somehere here can help me. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-05-2003, 09:53 AM
Lurker
 
Join Date: Mar 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Andrew-Brown
Default SSL Issue / Help

I am pulling my hair out trying to figure this out, so I really hope somehere here can help me.

I have a shared SSL hosting provider. The web host administrator is a friend of mine, so with his help we tracked down this problem.

When a user attempts to checkout, part of the page is secure, but part is not, therefore you get no padlock. What we determined to be the cause, the images are still coming from the HTTP server, not the HTTPS server; whcih is where they will need to come from in order for the page to be secure.


Here is a link to the site: http://www.creationpc.com/catalog


Here is snip of the configure.php file as well --

define('HTTP_SERVER', 'http://www.creationpc.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure.sherpapub.com/customers/creationpc.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
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', DIR_WS_CATALOG . 'pub/');
#define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['DOCUMENT_ROOT']); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_FS_DOCUMENT_ROOT', '/home/itaxis/creationpc.com/www/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


Any suggestions, ideas, or help would be great!

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-05-2003, 11:03 PM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

I think I have read about this problem before and the answer then was to have a copy of the images in the HTTPS relevant directory(or was it just to have symbolic link from the HTTPS directory images to the real images), I can't remember exactly.

I am trying to use a shared SSL host but have a problem that you apparently don't have, does your php.ini have safe mode turned on or off?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-06-2003, 08:29 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,440
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Looks like you solved the problem. I went through a partial checkout, and your SSL looks like it is working properly.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-07-2003, 12:16 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

Yes, we are on the right track, I have asked them for a explanation of what they had to change so it might be used as a tip?

Now all I have to get right is the images in HTTPS mode!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-10-2003, 05:55 PM
New Member
 
Join Date: Jun 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BirddogsGarage
Default

Did you ever figure out how to get the images in HTTPS Mode????
This is my problem right now and I cant figure out where I am going wrong!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 07-23-2003, 10:38 PM
Lurker
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
phaseiii
Default

Quote:
Originally Posted by BirddogsGarage
Did you ever figure out how to get the images in HTTPS Mode????
This is my problem right now and I cant figure out where I am going wrong!
After browsing through the code, I found that the problem rests with $request_type not being set properly. The $request_type variable is initialized in "includes/application_top.php" on line 41 (assuming you haven't modified this file at all).

Either comment or take out the line that says:
$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

and replace it with:
$request_type = (getenv('SERVER_PORT') == '443' ? 'SSL' : 'NONSSL');

This should fix the problem.

What gets even better is just when I was about to look into fixing this issue on the admin side, I found this thread.

DOH!

So much for schools being named after me, and anyone throwing me a parade.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Thank you for all your help, but I have one more issue DBComics osCMax v1.7 Installation 2 04-13-2006 07:31 AM
Yet another issue DBComics osCMax v1.7 Installation 3 04-12-2006 06:59 AM
I think it's an SSL issue... goaskmom osCMax v1.7 Discussion 3 03-12-2006 04:02 PM
Issue with CSS & SSL Thang422 osCMax v2 Customization/Mods 2 10-18-2005 09:22 AM
SSL Issue Anonymous osCMax v1.7 Discussion 6 11-14-2003 05:59 PM


All times are GMT -8. The time now is 12:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax