Guest Posted February 27, 2006 Posted February 27, 2006 After changing the domain name of a site, what correction on what files are needed ? Thanks everyone
Jack_mcs Posted February 27, 2006 Posted February 27, 2006 You just need to change the includes/configure.php and the admin/includes/configure.php files, providing you don't have any hard-coded links in any of the files. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 27, 2006 Posted February 27, 2006 You just need to change the includes/configure.php and the admin/includes/configure.php files, providing you don't have any hard-coded links in any of the files. Jack I have corrected those 2 files where I have replaced the old domain name to the new domain name. When I place a trial order the info about shipment and payment does not appear anymore, even though the modules are on the server and were working perfectly before, my feeling is that this is some type of path problem but I have no idea where I should go to make what correction, can you help ? Jacques
satish Posted February 27, 2006 Posted February 27, 2006 I have corrected those 2 files where I have replaced the old domain name to the new domain name. When I place a trial order the info about shipment and payment does not appear anymore, even though the modules are on the server and were working perfectly before, my feeling is that this is some type of path problem but I have no idea where I should go to make what correction, can you help ? Jacques Once you change the configure file( catalog and Admin both). Now you need to check the payment gateway configuration too. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Guest Posted February 27, 2006 Posted February 27, 2006 Once you change the configure file( catalog and Admin both).Now you need to check the payment gateway configuration too. Satish When I go to catalog/admin/modules there's nothing there, although the modules are on the server, the admin section does not link to them (payment or shipping) Any suggestion ??
satish Posted February 28, 2006 Posted February 28, 2006 When I go to catalog/admin/modules there's nothing there, although the modules are on the server, the admin section does not link to them (payment or shipping)Any suggestion ?? Do the following steps: <? echo $PHP_SELF ?> create php file and place it in the catlaog folder where the payment modukles are and punch to get the module path. Now in admin folder check the configure file and check the value of catalog. Its a problem of path in admin configure not being spoecified properly. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Jack_mcs Posted February 28, 2006 Posted February 28, 2006 See if you have addtional configure files in the includes/local directories. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 28, 2006 Posted February 28, 2006 Do the following steps:<? echo $PHP_SELF ?> create php file and place it in the catlaog folder where the payment modukles are and punch to get the module path. Now in admin folder check the configure file and check the value of catalog. Its a problem of path in admin configure not being spoecified properly. Satish I'm not sure I understand your instructions well ? 1- I create a php file with this line in there <? echo $PHP_SELF ?> 2- I don't understand "punch to get the module path" what is this ? Thanks
Guest Posted February 28, 2006 Posted February 28, 2006 See if you have addtional configure files in the includes/local directories. Jack I cannot find additional configure files
Jack_mcs Posted February 28, 2006 Posted February 28, 2006 Try postig your configure files here, minus the sensitive data. Maybe they are set up incorrectly. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 28, 2006 Posted February 28, 2006 Try postig your configure files here, minus the sensitive data. Maybe they are set up incorrectly. Jack Here's my catalog/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://mysite .com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mysite .com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mysite .com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite .com'); 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/mysite /public_html/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', 'shopp3rs_osc1'); define('DB_SERVER_PASSWORD', 'GfF[Xy94x3QX'); define('DB_DATABASE', 'mysite_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // STS: ADD: Define Simple Template System files define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/mysite/'); define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php'); // STS: EOADD ?> Here's my catalog/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://mysite .com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://mysite .com'); define('HTTPS_CATALOG_SERVER', 'http://mysite .com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/mysite /public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/mysite /public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/mysite /public_html/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', 'mysite_osc1'); define('DB_SERVER_PASSWORD', 'GfF[Xy94x3QX'); define('DB_DATABASE', 'shopp3rs_osc1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Guest Posted March 1, 2006 Posted March 1, 2006 Here's my catalog/includes/configure.php<?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 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://mysite .com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mysite .com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mysite .com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite .com'); 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/mysite /public_html/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', 'shopp3rs_osc1'); define('DB_SERVER_PASSWORD', 'GfF[Xy94x3QX'); define('DB_DATABASE', 'mysite_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // STS: ADD: Define Simple Template System files define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/mysite/'); define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php'); // STS: EOADD ?> Here's my catalog/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 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://mysite .com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://mysite .com'); define('HTTPS_CATALOG_SERVER', 'http://mysite .com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/mysite /public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/mysite /public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/mysite /public_html/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', 'mysite_osc1'); define('DB_SERVER_PASSWORD', 'GfF[Xy94x3QX'); define('DB_DATABASE', 'shopp3rs_osc1'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Since I couldn't get around this problem, I just deleetd and redid the whole installation. Thanks to all who suggested solutions.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.