Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Windows installation


khabagir

Recommended Posts

Hi,

I'm getting the following error on Wondows2000 server when i try to acces the default.php. the catalog is installed on the root directory

 

Warning: mysql_connect(): Access denied for user: 'xxx@localhost' (Using password: YES) in D:\home\accountname\www\includes\functions\database.php on line 19 Unable to connect to database server!

 

config.php(remove the db connection details)

 

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

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

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

define('DIR_WS_CATALOG', '/'); // absolute path required

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/accountname/www');

define('DIR_FS_CATALOG', '/home/accountname/www/');

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

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

 

Pls help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...