Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange behavior with secure pages.


Guest

Recommended Posts

Posted

If I access my frontend through the normal url I get a normal page.

If I manually key the addy for the secure frontend page, I get the page text, but placeholders for all graphics and no styles applied to the text.

 

If I click the Login or Create an Account links, I get a Page Cannot Be Displayed error. My server uses a shared SSL certificate.

 

/catalog/includes/config.php

<?php
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.anachronistsattic.com');   
 define('HTTPS_SERVER', 'https://anachronistsatticcom.secure.powweb.com'); 
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.anachronistsattic.com');
 define('HTTPS_COOKIE_DOMAIN', 'anachronistsatticcom.secure.powweb.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/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/www/a/n/anachronistsattic.com/htdocs/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'mysql04.powweb.com'); 
 define('DB_SERVER_USERNAME', ***);
 define('DB_SERVER_PASSWORD', ***);
 define('DB_DATABASE', ***);
 define('USE_PCONNECT', 'false'); 
 define('STORE_SESSIONS', 'mysql'); 
?>

 

Any thoughts are welcome. Oh yeah, for some reason it looks like osCommerce is inserting an extraneous space into the SSL url... Not sure where that is coming from either...

 

Stephen

Archived

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

×
×
  • Create New...