Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Gold Pad lock Not showing


juniorprg

Recommended Posts

I have been goin thru the forums for quiet a bit time but cannot find the solution for my problem, I have seen people referring to similar situations but the solutions isnt working for me or I dont know to fix them...

Im trying to make my checkout secure, since im using yahoo SSL, they want me to creat a folder called SSL in root dir and move the pages to be made secure into that folder, so i copied the entire catalog foldeder into SSL and in the config i made the following changes..

 

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

define('HTTPS_SERVER', 'https://s.p3.hostingprod.com/@www.pimpyourrides.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'pimpyourrides.com');

define('HTTPS_COOKIE_DOMAIN', 'https://s.p3.hostingprod.com/@www.pimpyourrides.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/ssl/catalog/');

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

define('DIR_WS_HTTPS_CATALOG', '/ssl/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', '/catalog/');

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

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

 

Now when i login in, the pad lock is not showing but when you click on that empty space where the pad lock is supposed to show, you can view the certificate but the lock as such isnt visible. So after signing in when i selected the checkout i can see the images are coming from non secure area,this could be the problem, so how to make the images also to come from secure folder

 

please help me .. thanks

l8ter

Link to comment
Share on other sites

Fixed the issue, as mentioned in some earlier forums I had to change the code in application_top and function/general.php

 

from:

getenv('HTTPS') == 'on'

 

to:

getenv('HTTPS') == '1' or 'on'

 

and then uploaded this page to my SSL folder, and left the unchanged files in the catalog root folder(unsecure folder)

 

This way when you login or checkout padlocks are shown and otherwise works as regular store...

l8ter

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...