Zen Cart Logo
Forums / General Questions / New SSL Certificate Issues

New SSL Certificate Issues

Views: 1,033

Results 1 to 8 of 8
18 Apr 2011, 8:14 PM
#1
designlessdesign avatar

designlessdesign

New Zenner

Join Date:
Mar 2010
Posts:
19
Plugin Contributions:
0

New SSL Certificate Issues

I have had a site computechracing.com up and running well for about six months and have recently purchased the domain computech.com

I decided to copy and paste all the code from computechracing.com to computech.com and then simply do a find and replace in dreamweaver to replace computechracing with computech.

All of that worked just fine until I had to cancel the ssl certificate on computechracing and install one on computech.com

Now if you go to http://computech.com everything works just fine but when you go to https://computech.com you just get a blank page.

I don't believe it has anything to do with the ssl certificate because if you go to https://computech.com/supportData.html which has nothing to do with the zen cart the ssl page works just fine. That leads me and my hosting company to believe it is something on the zen cart side.

But in that same breath all the zen cart sites work just fine without the https header and the settings in both my main and admin configuration.php files is set up fine the same way it was before when it was working on computechracing.com???

What am I missing here?? I don't remember it being this difficult before.

Also I temporarily disabled the ssl secure checkout and have paypay as the only option in order to protect my customers until this issue is resolved.

Thanks for any input guys!!

18 Apr 2011, 8:31 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: New SSL Certificate Issues

Past your store configure.php file contents here and XX out the DB details for DB, user & pass

18 Apr 2011, 9:14 PM
#3
designlessdesign avatar

designlessdesign

New Zenner

Join Date:
Mar 2010
Posts:
19
Plugin Contributions:
0

Re: New SSL Certificate Issues

<?php
/**
 * @package Configuration Settings circa 1.3.8
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */


/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://computech.com');
  define('HTTPS_SERVER', 'https://www.computech.com');

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

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/'); 

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  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_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  define('DIR_FS_CATALOG', '/home/desig113/public_html/computech.com/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', '');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'xxxxxxx');
  define('DB_SERVER_PASSWORD', 'xxxxxxxxxx');
  define('DB_DATABASE', 'desig113_Computech');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'db');
  // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'none'); 
  define('DIR_FS_SQL_CACHE', '/home/desig113/public_html/computech.com/cache');

// EOF
18 Apr 2011, 9:35 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: New SSL Certificate Issues

That appears correct

I am not aware of any file differences for the index page when just changing to https

Assuming you are using ZenCart 1.3.9h, error/debug files are being generated that might shed some light

https://www.zen-cart.com/tutorials/index.php?article=82

18 Apr 2011, 11:39 PM
#5
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: New SSL Certificate Issues

is the certificate for www.computethingie or computethingie without the www as you have www in your configure but everything you mention doesn't have www

I guess you are working on it now as none off the secure links you posted work for me?

19 Apr 2011, 2:43 PM
#6
designlessdesign avatar

designlessdesign

New Zenner

Join Date:
Mar 2010
Posts:
19
Plugin Contributions:
0

Re: New SSL Certificate Issues

Thanks for the help guys. For anyone else reading at a later point the issue actually lied within my hosting company and ssl issuers. Not sure exactly what they did but after talking to the right guy it was instantly fixed.

19 Apr 2011, 2:53 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: New SSL Certificate Issues

Not sure exactly what they did but after talking to the right guy it was instantly fixed.
Was there any thing that you provided that assisted?
Like any error log info or??

19 Apr 2011, 3:31 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: New SSL Certificate Issues

Be sure to check the navigation around your site ... I appear to be going between URLs with and without the www still ...