[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] I give up



> I carumba!! I went and looked. I would change everything back to default.php
> and do as Gerald said, add the default.php to srm.conf file for this 
> type page to be noticed as a index type page. Also you don't seem to 
> be connecting to the database.

I went and made the changes as well as a few I got from the "new 
installation" section of the forum on ocs's web site. Now I am getting 
a "unable to connect to database server" message. The changes that the forum 
exampe was to the following two areas:

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
  define('HTTP_SERVER', 'localhost');
  define('HTTPS_SERVER', 'localhost');
  define('ENABLE_SSL', 0); // ssl server enable(1)/disable(0)
  define('DIR_FS_DOCUMENT_ROOT',$DOCUMENT_ROOT . '/');                        
  define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/');
  define('DIR_WS_CATALOG', '/catalog/');
  define('DIR_WS_IMAGES', 'images/');
  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_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); 

// define our database connection
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'root');
  define('DB_SERVER_PASSWORD', '');
  define('DB_DATABASE', 'catalog');
  define('USE_PCONNECT',1);

The instructions I attempted to follow are located here:
http://www.oscommerce.com/community.php/forum,1/action,read/i,33530/t,33530

Any clues?

John