-
Similar Content
-
By dimzone
Доброго времени суток.
Вылезает ошибка при авторизации пользователя на сайте. Что это такое и как с этим бороться?
Причем при перезагрузке страницы авторизация происходит. В чем проблема?
Не хотелось чтобы пользователи столкнулись с этим.
Пишет: Warning: Cannot modify header information - headers already sent by (output started at /home/d/d/site.ru/public_html/catalog/language/ru-ru/account/login.php:1) in /home/d/d/site.ru/public_html/system/library/response.php on line 12
-
By Klonpro
Добрый день. Может кто встречал такую ошибку. Ошибка вылезает вспылающим окном при заходе в личный кабинет.
if ($this->customer->isLogged()) {
$json['islogged'] = true;
}else if(isset($this->request->post)) {
if (!$this->customer->login($this->request->post['email'], $this->request->post['password'])) {
$json['error'] = $this->language->get('error_login');
}
$customer_info = $this->model_account_customer->getCustomerByEmail($this->request->post['email']);
line 17 if ($customer_info && !$customer_info['approved']) {
$json['error'] = $this->language->get('error_approved');
}
} else {
$json['error'] = $this->language->get('error_warning');
}
-
-
Recently Browsing 0 members
No registered users viewing this page.