Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

shared ssl problem!


Recommended Posts

i installed oscommerce a while ago and whenever i transfer from non-ssl mode to ssl mode i can't c any image, i can only c the text. i was advised of shared ssl address https://*********/******/ , everything else is working fine. pls look at the code below and if some1 can suggest something i will appreciate that!



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://******');

define('HTTPS_SERVER', 'https://*********);

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

define('HTTP_COOKIE_DOMAIN', 'http://********');

define('HTTPS_COOKIE_DOMAIN', 'https://*********');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

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

define('DIR_WS_IMAGES', '/oscommerce/images/');

define('DIR_WS_ICONS', '/oscommerce/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_DOWNLOAD', DIR_FS_CATALOG . 'download/');



here is the database connection


// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '*******');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '*******');

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

define('STORE_SESSIONS', 'mysql');


Link to comment
Share on other sites

Brett, it's really difficult to tell based on the ***** in your URLs for config file, but it looks to me like the line

define('HTTPS_SERVER', 'https://*********);


should be:

define('HTTPS_SERVER', 'https://*********/******/');


not sure if you removed this in the "asterisk-izing" of your configuration, but the paths are not only different, but one ends with a '); and the other one ends just with ); - - missing the last apostrophe delimiter.



Link to comment
Share on other sites


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

  • Create New...