osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

pls help, newbie with oscommerce about SSL

This is a discussion on pls help, newbie with oscommerce about SSL within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hi everyone, my web hosting offers a share SSL, I've enable it. but don't know how I can use this ...


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

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-05-2005, 05:49 PM
New Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
replogle
Default pls help, newbie with oscommerce about SSL

hi everyone, my web hosting offers a share SSL, I've enable it.
but don't know how I can use this share SSL in the eshop page.
I've read many posts about changing the configure.php file, and I'm so confused...... don't know what to do......
I've asked for help from the web hosting and they don't care.

Pls help super newbie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-06-2005, 01:01 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: pls help, newbie with oscommerce about SSL

What is your HTTPS URL and HTTP URL?

It may be best to re-run the INSTALLATION - but don't import the database.

Make sure sessions is stored in the database!

If you have problems then post your catalog/includes/configure.php (less the DB info) and we can help.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-06-2005, 05:00 PM
New Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
replogle
Default

this is the code of /catalog/includes/configure.php
Do I have to change the other configure.php file in order to make it work??? how do I define the database? Pls help I don't really know
how to edit and configure the oscommerce thanks

define('HTTP_SERVER', 'http://eekpigs.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://eekpigsssl.c2.hostexcellence.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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/');

// define our database connection
define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'osCommerce');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-07-2005, 10:27 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Quote:
Originally Posted by replogle
this is the code of /catalog/includes/configure.php
Do I have to change the other configure.php file in order to make it work??? how do I define the database? Pls help I don't really know
how to edit and configure the oscommerce thanks

define('HTTP_SERVER', 'http://eekpigs.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://eekpigsssl.c2.hostexcellence.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
Add in the missing information....

Possably:
define('HTTP_COOKIE_DOMAIN', 'eekpigs.com');
define('HTTPS_COOKIE_DOMAIN', 'eekpigsssl.c2.hostexcellence.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-07-2005, 08:09 PM
New Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
replogle
Default

thanks so much for replying my post, I've added the changes you told me but when I try my eshop the SSL connection didn't activate, so the purchase was done without any security. Can you please tell me what else I should change to get it right many thanks

eshop site: http://eekpigs.com/catalog/index.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 10-09-2005, 01:10 PM
New Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
replogle
Default

I finally understand why there is 2 configure.php file, and know that Oscommerce will automatically choose SSL or non SSL to display.
The problem that I have is, I've changed and edited both configure.php as you said, but it when I click on checkout the SSL didn't kick in.......
besides changing the configure.php file should I do something else before the Oscommerce will work.
I'm using firefox web browser, I initially thought it was not compatible with OS, but I tried using IE explorer but still the same problem.

Any experts willing to help me please, I've little knowledge about PHP or oscommerce thank you
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
Newbie needs some help please countingsheep osCMax v2 Installation issues 0 03-30-2006 06:07 AM
login and create account[oscommerce 2.2] newbie needs help! syaiful_bahri osCommerce 2.2 Installation Help 0 03-19-2005 01:33 AM
HELP NEWBIE HERE!!!!!!! handysf osCMax v1.7 Discussion 1 01-14-2004 10:27 PM
Newbie Needs help. latahani osCommerce 2.2 Modification Help 1 02-26-2003 07:32 AM
The Ultimate OSCOMMERCE newbie Requesting Help, Please... miko osCommerce 2.2 Installation Help 7 01-23-2003 08:00 AM


All times are GMT -8. The time now is 07:43 PM.


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