Upload Oponcart dari localhost ke hosting

Siapkan data base terlebih dahulu di hostingan untuk menerima import database dai localhost.

edit file config.php pada root direktory dan admin direktory
contoh dari :
 ============== dari spt ini ===========

<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/opencart154/');
define('HTTP_IMAGE', 'http://localhost/opencart154/image/');
define('HTTP_ADMIN', 'http://localhost/opencart154/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://localhost/opencart154/');
define('HTTPS_IMAGE', 'http://localhost/opencart154/image/');

// DIR
define('DIR_APPLICATION', 'C:\wamp\www\opencart154/catalog/');
define('DIR_SYSTEM', 'C:\wamp\www\opencart154/system/');
define('DIR_DATABASE', 'C:\wamp\www\opencart154/system/database/');
define('DIR_LANGUAGE', 'C:\wamp\www\opencart154/catalog/language/');
define('DIR_TEMPLATE', 'C:\wamp\www\opencart154/catalog/view/theme/');
define('DIR_CONFIG', 'C:\wamp\www\opencart154/system/config/');
define('DIR_IMAGE', 'C:\wamp\www\opencart154/image/');
define('DIR_CACHE', 'C:\wamp\www\opencart154/system/cache/');
define('DIR_DOWNLOAD', 'C:\wamp\www\opencart154/download/');
define('DIR_LOGS', 'C:\wamp\www\opencart154/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'opcart154');
define('DB_PREFIX', '');
?>

================ di ganti dengan ==============

<?php
// HTTP
define('HTTP_SERVER', 'http://www.namaDomain.com/');
define('HTTP_IMAGE', 'http://www.namaDomain.com/image/');
define('HTTP_ADMIN', 'http://www.namaDomain.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://www.namaDomain.com/');
define('HTTPS_IMAGE', 'https://www.namaDomain.com/image/');

// DIR
define('DIR_APPLICATION', '/home/namaUserHosting/public_html/catalog/');
define('DIR_SYSTEM', '/home/namaUserHosting/public_html/system/');
define('DIR_DATABASE', '/home/namaUserHosting/public_html/system/database/');
define('DIR_LANGUAGE', '/home/namaUserHosting/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/namaUserHosting/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/namaUserHosting/public_html/system/config/');
define('DIR_IMAGE', '/home/namaUserHosting/public_html/image/');
define('DIR_CACHE', '/home/namaUserHosting/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/namaUserHosting/public_html/download/');
define('DIR_LOGS', '/home/namaUserHosting/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'usernameDB');
define('DB_PASSWORD', 'passwordDB');
define('DB_DATABASE', 'namaDB');
define('DB_PREFIX', '');
?>

=============== menjadi seperti ini ==================

<?php
// HTTP
define('HTTP_SERVER', 'http://jogjakujogjamu.com/');
define('HTTP_IMAGE', 'http://jogjakujogjamu.com/image/');
define('HTTP_ADMIN', 'http://jogjakujogjamu.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://jogjakujogjamu.com/');
define('HTTPS_IMAGE', 'http://jogjakujogjamu.com/image/');

// DIR
define('DIR_APPLICATION', '/home/krckogcb/public_html/catalog/');
define('DIR_SYSTEM', '/home/krckogcb/public_html/system/');
define('DIR_DATABASE', '/home/krckogcb/public_html/system/database/');
define('DIR_LANGUAGE', '/home/krckogcb/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/krckogcb/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/krckogcb/public_html/system/config/');
define('DIR_IMAGE', '/home/krckogcb/public_html/image/');
define('DIR_CACHE', '/home/krckogcb/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/krckogcb/public_html/download/');
define('DIR_LOGS', '/home/krckogcb/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'NamaUserDBmu');
define('DB_PASSWORD', 'passmuopo');
define('DB_DATABASE', 'NamaBDmu');
define('DB_PREFIX', '');
?>
====================


// DIR
define('DIR_APPLICATION', '/home/krckogcb/public_html/jogjakujogjamu.com/catalog/');
define('DIR_SYSTEM', '/home/krckogcb/public_html/jogjakujogjamu.com/system/');
define('DIR_DATABASE', '/home/krckogcb/public_html/jogjakujogjamu.com/system/database/');
define('DIR_LANGUAGE', '/home/krckogcb/public_html/jogjakujogjamu.com/catalog/language/');
define('DIR_TEMPLATE', '/home/krckogcb/public_html/jogjakujogjamu.com/catalog/view/theme/');
define('DIR_CONFIG', '/home/krckogcb/public_html/jogjakujogjamu.com/system/config/');
define('DIR_IMAGE', '/home/krckogcb/public_html/jogjakujogjamu.com/image/');
define('DIR_CACHE', '/home/krckogcb/public_html/jogjakujogjamu.com/system/cache/');
define('DIR_DOWNLOAD', '/home/krckogcb/public_html/jogjakujogjamu.com/download/');
define('DIR_LOGS', '/home/krckogcb/public_html/jogjakujogjamu.com/system/logs/');
Related Posts Plugin for WordPress, Blogger...