Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing SSL - Error on My Account and Checkout Pages


sgariss32

Recommended Posts

Hopefully someone can help, I have been working on this for days. I updated my configure.php files by using the simple install 1,2,3 and everything seems to be working except when you click on my accounts or checkout it says Internet Exployer cannot display page. I noticedthat in url that it doesn't have https it still has http.www.domain. Below is my script that I have put in my files, I have tried using just my domain, www.domain but there still is something wrong. My ssl was purchased under www.domain.com if that matters. I am so frustrated, can you please look at this - my webaddress is www.aflower4u.com

 

 

includes/configure

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('HTTP_SERVER', 'http://domain name.com'); // eg, http://localhost - should not be empty for productive servers (NOTE ASLO TRIED 'http://www.domain name.com')

define('HTTPS_SERVER', 'https://domain name.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '.domain name.com');

define('HTTPS_COOKIE_DOMAIN', '.domain name.com');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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', '/home/www/domainname.com/');

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

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

 

// define our database connection

define('DB_SERVER', 'databaseserver.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'database username');

define('DB_SERVER_PASSWORD', 'dbpassword');

define('DB_DATABASE', 'dbname');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

 

 

 

 

 

 

 

 

 

 

admin/includes/configure

 

 

 

<?php

 

define('HTTP_SERVER', 'https://domain name.com/'); (NOTE ALSO TRIED 'https//:www.domain name.com/)

define('HTTP_CATALOG_SERVER', 'https://www.domain name.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.domain name.com/');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/www/domain name.com/');

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

define('DIR_FS_ADMIN', '/home/www/domain name.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/www/domain name.com/');

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 our database connection

define('DB_SERVER', 'server name.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'username');

define('DB_SERVER_PASSWORD', 'user password');

define('DB_DATABASE', 'database name');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

checkout it says Internet Exployer cannot display page

check the image links on your website, as you probably have outside non secure images which are linked via http instead of https

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Minor modifications ... hopefully this helps.

includes/configure


 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

// define our database connection

 define('STORE_SESSIONS', 'mysql');

admin/includes/configure

 define('HTTP_SERVER', 'https://domain name.com');
 define('HTTP_CATALOG_SERVER', 'https://www.domain name.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.domain name.com');

// define our database connection

 define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...