문제

I installed opencart in my server hosting. But the site shows the lines given below. My site is http://fruitsclubbd.com/

Is it problem of server or opencart?

Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 52

Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 61

Warning: Invalid argument supplied for foreach() in /home8/fruitscl/public_html/index.php on line 61

Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 69

Here is the lines of index.php form line 40 to 70.

// Application Classes

require_once(DIR_SYSTEM . 'library/customer.php');

require_once(DIR_SYSTEM . 'library/affiliate.php');

require_once(DIR_SYSTEM . 'library/currency.php');

require_once(DIR_SYSTEM . 'library/tax.php');

require_once(DIR_SYSTEM . 'library/weight.php');

require_once(DIR_SYSTEM . 'library/length.php');

require_once(DIR_SYSTEM . 'library/cart.php');

// Registry

$registry = new Registry();

// Loader

$loader = new Loader($registry);

$registry->set('load', $loader);

도움이 되었습니까?

해결책

Are you trying to use mysqli? If so, edit both of your config files on the DB_DRIVER line and change it from mysql to mysqli. All what probably happened was choosing mysqli instead of mysql during the installation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top