Hello, I'm a new version using of Opencart store :
My Problem is :
I Try to move from local host to new server. But Fresh install on server is worked fine, no problems. When I uploaded my files to on domain
http://www.topbrandadvertising.com/shoponline, The front-end is ok. But I can not login to admin (
http://www.topbrandadvertising.com/shoponline/admin). It show error:
"Fatal error: Call to a member function isLogged() on a non-object in /home/topbrncs/public_html/shoponline/catalog/model/catalog/product.php on line 65"
I have try on it many times but can not , Please very one show me about that
Thanks, Thim
config.php (in my root www. folder):
<?php
// HTTP
define('HTTP_SERVER', '
http://topbrandadvertising.com/shoponline/');
// HTTPS
define('HTTPS_SERVER', '
http://topbrandadvertising.com/shoponline/');
// DIR
define('DIR_APPLICATION', '/home/topbrncs/public_html/shoponline/catalog/');
define('DIR_SYSTEM', '/home/topbrncs/public_html/shoponline/system/');
define('DIR_DATABASE', '/home/topbrncs/public_html/shoponline/system/database/');
define('DIR_LANGUAGE', '/home/topbrncs/public_html/shoponline/catalog/language/');
define('DIR_TEMPLATE', '/home/topbrncs/public_html/shoponline/catalog/view/theme/');
define('DIR_CONFIG', '/home/topbrncs/public_html/shoponline/system/config/');
define('DIR_IMAGE', '/home/topbrncs/public_html/shoponline/image/');
define('DIR_CACHE', '/home/topbrncs/public_html/shoponline/system/cache/');
define('DIR_DOWNLOAD', '/home/topbrncs/public_html/shoponline/download/');
define('DIR_LOGS', '/home/topbrncs/public_html/shoponline/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'topbrncs_shop');
define('DB_PASSWORD', 'shop123');
define('DB_DATABASE', 'topbrncs_shop');
define('DB_PREFIX', 'tc_');
?>
======================================================================================
admin/config.php:
<?php
// HTTP
define('HTTP_SERVER', '
http://topbrandadvertising.com/shoponline/admin/');
define('HTTP_CATALOG', '
http://topbrandadvertising.com/shoponline/');
// HTTPS
define('HTTPS_SERVER', '
http://topbrandadvertising.com/shoponline/admin/');
define('HTTPS_CATALOG', '
http://topbrandadvertising.com/shoponline/');
// DIR
define('DIR_APPLICATION', '/home/topbrncs/public_html/shoponline/catalog/');
define('DIR_SYSTEM', '/home/topbrncs/public_html/shoponline/system/');
define('DIR_DATABASE', '/home/topbrncs/public_html/shoponline/system/database/');
define('DIR_LANGUAGE', '/home/topbrncs/public_html/shoponline/catalog/language/');
define('DIR_TEMPLATE', '/home/topbrncs/public_html/shoponline/catalog/view/theme/');
define('DIR_CONFIG', '/home/topbrncs/public_html/shoponline/system/config/');
define('DIR_IMAGE', '/home/topbrncs/public_html/shoponline/image/');
define('DIR_CACHE', '/home/topbrncs/public_html/shoponline/system/cache/');
define('DIR_DOWNLOAD', '/home/topbrncs/public_html/shoponline/download/');
define('DIR_LOGS', '/home/topbrncs/public_html/shoponline/system/logs/');
define('DIR_CATALOG', '/home/topbrncs/public_html/shoponline/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'topbrncs_shop');
define('DB_PASSWORD', 'shop123');
define('DB_DATABASE', 'topbrncs_shop');
define('DB_PREFIX', 'tc_');
?>