尝试访问管理区域的“客户”部分时出现Opencart错误

时间:2014-06-26 06:17:51

标签: php opencart

我有一个opencart商店设置,当我尝试从管理区域访问客户页面时,我收到以下错误代码:

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Unknown column 'cg.name' in 'field list'<br />Error No: 1054<br />SELECT *, CONCAT(c.firstname, ' ', c.lastname) AS name, cg.name AS customer_group FROM oc_customer c LEFT JOIN oc_customer_group cg ON (c.customer_group_id = cg.customer_group_id) ORDER BY name ASC LIMIT 0,20' in /home/canad763/public_html/testshop/system/database/mysqli.php:41 Stack trace: #0 /home/canad763/public_html/testshop/system/library/db.php(20): DBMySQLi->query('SELECT *, CONCA...') #1 /home/canad763/public_html/testshop/admin/model/sale/customer.php(150): DB->query('SELECT *, CONCA...') #2 /home/canad763/public_html/testshop/admin/controller/sale/customer.php(408): ModelSaleCustomer->getCustomers(Array) #3 /home/canad763/public_html/testshop/admin/controller/sale/customer.php(12): ControllerSaleCustomer->getList() #4 [internal function]: ControllerSaleCustomer->index() #5 /home/canad763/public_html/testshop/system/engine/front.php(42): call_user_func_array(Array, Array) #6 /hom in /home/canad763/public_html/testshop/system/database/mysqli.php on line 41

0 个答案:

没有答案