osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

I think it's an SSL issue...

This is a discussion on I think it's an SSL issue... within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I've been running a stock Max 1.7 version for about 18 months now, I guess. Finally decided to go to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-08-2006, 06:20 PM
Member
 
Join Date: Nov 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
goaskmom
Default I think it's an SSL issue...

I've been running a stock Max 1.7 version for about 18 months now, I guess. Finally decided to go to SSL since I added credit cards instead of PayPal.

The certificate is installed, but a couple of issues are happening. First, when you sign in, it switches to SSL mode, but when you start looking at the catalog, the SSL goes off. When you check out, it's back, when looking, it's off. That's issue number 1.

Issue number two is that items on special can be put into the cart if you are not logged in and they stay the right price (sale price). If you purchase without account, it seems to keep it correct. However, if you log in, the specials prices don't transfer to the shopping cart.

I suspect the second issue is because of the initial problem in problem #1 with the SSL not being set up correctly. In the instructions on the wiki, the file seems to have a line or two I don't have in my configure files.

Here's what I have for the catalog/includes/configure.php file (with mydomain being substituted for the actual domain name):
/
Code:
/ Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.mydomain.com'); // eg, https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', true); // secure webserver for checkout procedure?
  define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/catalog/');
  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/');
And in the admin/includes/configure.php file :
Code:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');
  define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
  define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mydomain.com/httpdocs/catalog/'); // where the pages are located on the server
  define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
  define('DIR_FS_ADMIN', '/home/httpd/vhosts/mydomain.com/httpdocs/catalog/admin/'); // absolute pate required
  define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
  define('DIR_FS_CATALOG', '/home/httpd/vhosts/mydomain.com/httpdocs/catalog/'); // absolute path required
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
Any idea what's missing or wrong? Many thanks, in advance, as I know this is an old, tired subject for many, but I can't find the solution.

Forgot to mention, not a shared SSL, running on my own dedicated server.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-11-2006, 04:56 PM
Member
 
Join Date: Nov 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
goaskmom
Default RE: I think it

No one? Are 1.7 questions still answered by the guru's, or are they all on RC2 and not looking back? I'd love to upgrade to the latest, but I'm in a production environment, and waiting for the stable release.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-11-2006, 09:47 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,075
Thanks: 81
Thanked 348 Times in 327 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 RE: I think it

First, the ssl switching (from ssl to non ssl) is normal and is according to accepted SSL practice. Only pages that contian sensitive info require ssl, therefore, those are the only pages that are encrypted. This speeds your site and reduces server overhead, without compromising security.

You do not need to encrypt your product pages. Nothing worth encrypting is on those pages.

I think specials need to be assigned to a customer group. It has been over a year since I used a 1.7 store, so my memory on the subject is a bit rusty...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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-12-2006, 05:02 PM
Member
 
Join Date: Nov 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
goaskmom
Default RE: I think it

Thanks Michael, I appreciate that. Maybe someone else can remember about the specials. There are only two items on the "special" setup. Price and expiration. No place for customer groups. I do know I have used specials for the entire time I have run the site, and it only started dropping the special pricing. A customer brought it to my attention, and I was able to make it do the same thing. I've never had an issue with it in the past, so I'm unsure what's causing it, and the only thing that I have changed recently is installing the SSL certificate, so I assumed they were linked.

Maybe someone else has worked through it. Am I also correct is saying that RC2 is not something that you would use in a production environment yet? I'll gladly upgrade to the latest, but I didn't think it was "production" ready yet. Am I correct?

Thanks-
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 08:31 AM
Yet another issue DBComics osCMax v1.7 Installation 3 04-12-2006 07:59 AM
Issue with CSS & SSL Thang422 osCMax v2 Customization/Mods 2 10-18-2005 10:22 AM
SSL Issue Anonymous osCMax v1.7 Discussion 6 11-14-2003 06:59 PM
SSL Issue / Help Andrew-Brown osCommerce 2.2 Installation Help 5 07-23-2003 11:38 PM


All times are GMT -8. The time now is 12:43 AM.


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