Guest Posted March 1, 2009 Share Posted March 1, 2009 This is a new install....latest versions of oscommerce, php, and mysql. IIS6 Can open catalog, but all links etc (images, links to contact me) refer to root of web site, not www.mydomain.com/catalog/ Where is the setting to add /catalog/ so everything will move over one folder? Admin will not open.....Unable to connect to database server! Thanks, Craig Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2009 Share Posted March 1, 2009 Craig, Check the configure.php files located in catalog>includes and catalog>admin>includes. tip: these files are NOT the same so check and edit them separately. It should look something like this: define('HTTP_SERVER', 'http://www.yourdomain.com'); define('HTTPS_SERVER', 'https://www.yourdomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', '.yourdomain'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/content/d/a/v/xxxxxx/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'xxxxxxxx.secureserver.net'); define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'databasename'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('BASKET_PASSWORD' , "XXXXX"); Hope this helps Chris Link to comment Share on other sites More sharing options...
Guest Posted March 2, 2009 Share Posted March 2, 2009 Thanks...I am in! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.