Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

SSL? Please, help!


Recommended Posts

Hello osCommerce forum,


I have put up osCommerce and installed to.../test/catalog


When I installed directly using oscommerce from my host, it works.


But I have a special template and I need to install again, using osCommerce with this template.




Here it is the configure.php. What is wrong??? Thank you for your benevolent advices and help!


All the best for all of you,




define('HTTP_SERVER', 'https://host502.ipowerweb.com'); // eg, http://localhost - should not be empty for productive servers

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'host502.ipowerweb.com/~myname');

define('HTTP_COOKIE_PATH', '/~myname/test/catalog/');

define('HTTPS_COOKIE_PATH', '/~mynametest/catalog/');

define('DIR_WS_HTTP_CATALOG', '/~myname/test/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/~myname/test/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/myname/public_html/test/catalog/');

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



// define our database connection

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

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

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

define('DB_DATABASE', 'my 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


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

  • Create New...