Erro ao tentar [editar] Cliente
Enviado: 11 Abr 2013, 14:50
Procurei no forum e não achei nada que me ajude, tem alguns erros parecidos, mais o meu é em um arquivo do vqmod
PHP Fatal error: Call to undefined method ModelSaleCustomer::getTotalBanIpsByIp() in E:\home\winnercirc\parachoquenovo\Web\site2013\vqmod\vqcache\vq2-admin_controller_sale_customer.php on line 1043
Trecho do Arquivo "vq2-admin_controller_sale_customer.php"
PHP Fatal error: Call to undefined method ModelSaleCustomer::getTotalBanIpsByIp() in E:\home\winnercirc\parachoquenovo\Web\site2013\vqmod\vqcache\vq2-admin_controller_sale_customer.php on line 1043
Trecho do Arquivo "vq2-admin_controller_sale_customer.php"
Código: Selecionar todos
if (!empty($customer_info)) {
$results = $this->model_sale_customer->getIpsByCustomerId($this->request->get['customer_id']);
foreach ($results as $result) {
$ban_ip_total = $this->model_sale_customer->getTotalBanIpsByIp($result['ip']);
$this->data['ips'][] = array(
'ip' => $result['ip'],
'total' => $this->model_sale_customer->getTotalCustomersByIp($result['ip']),
'date_added' => date('d/m/y', strtotime($result['date_added'])),
'filter_ip' => $this->url->link('sale/customer', 'token=' . $this->session->data['token'] . '&filter_ip=' . $result['ip'], 'SSL'),
'ban_ip' => $ban_ip_total
);
}
}