kenyastar Posted June 11, 2005 Posted June 11, 2005 I had a test site set up as a sub domain. WHen I did this and I tried to access the admin panel for the Live site it directed to test site. I deleted sub domain. Have config.php set correctly ( i think) but it still directs to test. It should do this: http://diamondnexuslabs.com/ecommerce/os/catalog/admin/ But it does this: http://test.diamondnexuslabs.com/ecommerce/os/catalog/admin/ My host is IPOWER I have spent 2 weeks on this and have no idea what else to try. I would really appreciate any help!!! Here is my /catalog/includes/config.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://diamondnexuslabs.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://host278.ipowerweb.com/~diamondn'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'diamondnexuslabs.com'); define('HTTPS_COOKIE_DOMAIN', 'host278.ipowerweb.com/~diamondn'); define('HTTP_COOKIE_PATH', '/ecommerce/os/catalog/'); define('HTTPS_COOKIE_PATH', '/ecommerce/os/catalog/'); define('DIR_WS_HTTP_CATALOG', '/ecommerce/os/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/ecommerce/os/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/diamondn/public_html/ecommerce/os/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', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ); define('DB_SERVER_PASSWORD',; define('DB_DATABASE', ); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Kenya Star :'(
OceanRanch Posted June 11, 2005 Posted June 11, 2005 There are two configure.php files. One for the catalog and one for the admin. Check your catalog/admin/includes/configure.php file for the proper production domain name entry. HTH Tom
kenyastar Posted June 11, 2005 Author Posted June 11, 2005 Thank you for your quick response. Here is the code from that file. It looks ok to me, but I dont know much :). Am I missing something?? <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://diamondnexuslabs.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://diamondnexuslabs.com'); define('HTTPS_CATALOG_SERVER', 'https://host278.ipowerweb.com/~diamondn'); define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/diamondn/public_html/ecommerce/os/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/ecommerce/os/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/diamondn/public_html/ecommerce/os/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/ecommerce/os/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/diamondn/public_html/ecommerce/os/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '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_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ); define('DB_SERVER_PASSWORD', ); define('DB_DATABASE', ); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> There are two configure.php files. One for the catalog and one for the admin. Check your catalog/admin/includes/configure.php file for the proper production domain name entry. HTH Tom <{POST_SNAPBACK}>
OceanRanch Posted June 11, 2005 Posted June 11, 2005 I don't see anything obviously incorrect in the configure.php files. However, I did not get re-directed to the test.xxxxxx URL that you mention. Of course I can't login into the authentication pop-up for your admin but the URL looks fine and is pointing to the production site. Could be a local cache problem? Maybe some else can see an issue here. Tom
Recommended Posts
Archived
This topic is now archived and is closed to further replies.