magicspon Posted November 27, 2006 Posted November 27, 2006 Hi I need to move my site from www.gumproductions.co.uk/cocoshop (which is hosted with Square1hosting) to www.cocoshop.co.uk (hosted with easily) I know i need to change the configue.php but i'm not sure what i need to change all the details to. // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://gumproductions.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://cocoshop.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'gumproductions.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'cocoshop.co.uk'); define('HTTP_COOKIE_PATH', '/cocoshop/'); define('HTTPS_COOKIE_PATH', '/cocoshop/'); define('DIR_WS_HTTP_CATALOG', '/cocoshop/'); define('DIR_WS_HTTPS_CATALOG', '/cocoshop/'); 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/magic/public_html/cocoshop/'); 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', 'xxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx'); define('DB_DATABASE', 'xxxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> I transfered it over to cocoshop.co.uk and made the some changes but it hasn't proved very sucessful. when you click on one of the category buttons you get the following message: 'Warning: mysql_connect(): Access denied for user: 'magic_osc1@localhost' (Using password: YES) in /customersites/9/home/httpd/vhosts/cocoshop.co.uk/httpdocs/includes/functions/database.php on line 19 Unable to connect to database server!' could someone point me in the right direction... thanks dave
Guest Posted November 27, 2006 Posted November 27, 2006 Hi I've got a feeling that when directing to your root folder. Like in the code define('DIR_FS_CATALOG', '/home/magic/public_html/cocoshop/'); you probably should be pointing to /customersites/9/home/httpd/vhosts/cocoshop.co.uk/ I'd probably try something on that line, but there should be more info on it in your hosts help pages.
magicspon Posted November 27, 2006 Author Posted November 27, 2006 Hi I've got a feeling that when directing to your root folder. Like in the code define('DIR_FS_CATALOG', '/home/magic/public_html/cocoshop/'); you probably should be pointing to /customersites/9/home/httpd/vhosts/cocoshop.co.uk/ I'd probably try something on that line, but there should be more info on it in your hosts help pages. thanks for the quick reply... gonna ring easily in the morning! I changed it all to /customersites/9/home/httpd/vhosts/ but still to no avail!! cheers, dave
Recommended Posts
Archived
This topic is now archived and is closed to further replies.