Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Cert Not Working


getitdone99

Recommended Posts

My boss asked me to change the catalog/config.php and catalog/admin/config.php so the SSL cert would work. I did that and now when I try to login it says page not displayed. I think the config files are wrong. can someone look at it below and see if there are errors?

 

Catalog/config.php:

===================

<?php

define('HTTP_SERVER', 'http://xxxx.com');

define('HTTPS_SERVER', 'https://xxxx.com');

define('ENABLE_SSL', true);

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

define('HTTPS_COOKIE_DOMAIN', 'xxxx.com');

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

define('HTTPS_COOKIE_PATH', '/storefront/');

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

define('DIR_WS_HTTPS_CATALOG', '/storefront/');

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', '/home/xxxx/public_html/storefront');

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxx');

define('DB_SERVER_PASSWORD', 'xxxx');

define('DB_DATABASE', 'xxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

==================================

Admin Config File:

 

<?php

define('HTTP_SERVER', 'https://xxxx.com');

define('HTTP_CATALOG_SERVER', 'https://xxxx.com');

define('HTTPS_CATALOG_SERVER', 'https://xxxx.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/home/xxxx/public_html/storefront');

define('DIR_WS_ADMIN', '/storefront/admin/');

define('DIR_FS_ADMIN', '/home/xxxx/public_html/storefront/admin/');

define('DIR_WS_CATALOG', '/[%installpath %]/');

define('DIR_FS_CATALOG', '/home/xxxx/public_html/storefront/');

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/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxx');

define('DB_SERVER_PASSWORD', 'xxxx');

define('DB_DATABASE', 'xxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

did you clear your history and browsing / temp files - refresh and see if that works. do you have all of your keys installed on the cert? might want to ask your hosting company about it.

Yeah Yeah I am learning as I go... lol

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...