Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL - Unable to Connect to DB


billsall

Recommended Posts

Posted

Yes, I have read the posts...I have modified my configure.php file but for the life of me, I cannot figure out why this is not working... Everything WAS working - but without SSL (whoops - it expired). So, I bought new SSL from my ISP. It says it's installed... Here is my configure.php file:

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://'.'napapets.net'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://'.'napapets.net'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'napapets.net');
 define('HTTPS_COOKIE_DOMAIN', 'napapets.net');
 define('HTTP_COOKIE_PATH', '/oscommerce2'.'/catalog/');
 define('HTTPS_COOKIE_PATH', '/oscommerce2'.'/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/oscommerce2'.'/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/oscommerce2'.'/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', '/hsphere/local/home/xxx/napapets.net/oscommerce2'.'/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', 'mysql504.ixwebhosting.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxx_oscomme');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'C254280_oscommerce2');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

HELP!

Posted

https://'.'napapets.net

 

to

 

https://napapets.net

 

'/oscommerce2'.'/catalog/'

 

to

'/oscommerce2/catalog/'

 

and try

 

http://www.oscommerce.com/forums/index.php?sho...=334107&hl=

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...