Guest Posted October 3, 2006 Posted October 3, 2006 Have currently finished all, just trying to go LIVE onto the root URL. I have emptied the catalog folder into HTDOCS, and have change the two configure files to relate to htdocs and deleted all catalog links. The index page is working, but no links are after that. Just get the old "Can't find server" Please help!!!! Here are my configure files: Admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] 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://smartservicesuk.co.uk'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://smartservicesuk.co.uk'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/'); // 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', '*******'); // 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' ?> and my includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] 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://smartservicesuk.co.uk'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://smartservicesuk.co.uk'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/nas17ent/domains/s/smartservicesuk.co.uk/user/htdocs/'); // 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', '*******'); // 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' ?>
Guest Posted October 3, 2006 Posted October 3, 2006 Mate, you might wanna edit your post and mask your database details before the edit timer runs out. ;)
Guest Posted October 3, 2006 Posted October 3, 2006 Both of your files posted above appear to be the same (ie. both appear to be the admin/includes/configure.php). :blink:
241 Posted October 3, 2006 Posted October 3, 2006 your admin/includes/configure.php and includes/configure.php files are the same which is the admin/includes/configure.php your includes/configure.php is the wrong one No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted October 3, 2006 Posted October 3, 2006 Both of your files posted above appear to be the same (ie. both appear to be the admin/includes/configure.php). :blink: Cheer i was on the phone when I sumitted this one...was not thinking.......do you know where the edit button is
Guest Posted October 3, 2006 Posted October 3, 2006 Cheer i was on the phone when I sumitted this one...was not thinking.......do you know where the edit button is Thanks guys have sorted the two configure files out....they must of got muggled up. Have used an old config file I had. When I load up mydomain.co.uk I get: Warning: mysql_connect(): Access denied for user '******'@'******' (using password: YES) in /home/fhlinux181/s/smartservicesuk.co.uk/user/htdocs/includes/functions/database.php on line 19 Unable to connect to database server! I have a wrong user name and passowrd for the data base somewhere. Does any one know which files this info is in to change? database.php on line 19 16. if (USE_PCONNECT == 'true') { 17. $$link = mysql_pconnect($server, $username, $password); 18. } else { 19. $$link = mysql_connect($server, $username, $password); 20. } So close now to go LIVE
241 Posted October 5, 2006 Posted October 5, 2006 it is you configure.php files at the very end of the files is the database information // define our database connection define('DB_SERVER', '*******'); // 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' No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Chris Smith Posted October 5, 2006 Posted October 5, 2006 it is you configure.php files at the very end of the files is the database information // define our database connection define('DB_SERVER', '*******'); // 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' You should also change the name of your admin folder, better safe than sorry.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.