I have successfully copied the database across using phpMYADMIN.
I then copied the entire opencart tree across to the new host.
I then edited the config.php and admin/config.php to reflect the new database name, password etc AND the new paths for the defined constants.
Please not that I have not included my domain yet as I want the shop on the new host to be up and running, and then I will just switch where the domain points to, thus minimising the shop down time.
However I get this error when trying to load the store on the new host:
http://69.175.44.210/~easypyr1/
I have included copies of my config.php and admin/config.php below.
config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://69.175.44.210/~easypyr1/');
define('HTTP_IMAGE', 'http://69.175.44.210/~easypyr1/image/');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_APPLICATION', 'http://69.175.44.210/~easypyr1/catalog/');
define('DIR_SYSTEM', 'http://69.175.44.210/~easypyr1/system/');
define('DIR_DATABASE', 'http://69.175.44.210/~easypyr1/system/database/');
define('DIR_LANGUAGE', 'http://69.175.44.210/~easypyr1/catalog/language/');
define('DIR_TEMPLATE', 'http://69.175.44.210/~easypyr1/catalog/view/theme/');
define('DIR_CONFIG', 'http://69.175.44.210/~easypyr1/system/config/');
define('DIR_IMAGE', 'http://69.175.44.210/~easypyr1/image/');
define('DIR_CACHE', 'http://69.175.44.210/~easypyr1/system/cache/');
define('DIR_DOWNLOAD', 'http://69.175.44.210/~easypyr1/download/');
define('DIR_LOGS', 'http://69.175.44.210/~easypyr1/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'easypyr1_easypyro');
define('DB_PASSWORD', 'xxxxxxxxx');
define('DB_DATABASE', 'easypyr1_db1');
define('DB_PREFIX', '');
?>
Code: Select all
[<?php
// HTTP
define('HTTP_SERVER', 'http://69.175.44.210/~easypyr1/admin/');
define('HTTP_CATALOG', 'http://69.175.44.210/~easypyr1/');
define('HTTP_IMAGE', 'http://69.175.44.210/~easypyr1/image/');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_APPLICATION', 'http://69.175.44.210/~easypyr1/admin/');
define('DIR_SYSTEM', 'http://69.175.44.210/~easypyr1/system/');
define('DIR_DATABASE', 'http://69.175.44.210/~easypyr1/system/database/');
define('DIR_LANGUAGE', 'http://69.175.44.210/~easypyr1/admin/language/');
define('DIR_TEMPLATE', 'http://69.175.44.210/~easypyr1/admin/view/template/');
define('DIR_CONFIG', 'http://69.175.44.210/~easypyr1/system/config/');
define('DIR_IMAGE', 'http://69.175.44.210/~easypyr1/image/');
define('DIR_CACHE', 'http://69.175.44.210/~easypyr1/system/cache/');
define('DIR_DOWNLOAD', 'http://69.175.44.210/~easypyr1/download/');
define('DIR_LOGS', 'http://69.175.44.210/~easypyr1/system/logs/');
define('DIR_CATALOG', 'http://69.175.44.210/~easypyr1/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'easypyr1_easypyro');
define('DB_PASSWORD', 'xxxxxxxxx');
define('DB_DATABASE', 'easypyr1_db1');
define('DB_PREFIX', '');
?>
Thank you,
Andrew.