Página 1 de 1

Erros ao Acessar Clientes e salvar estatisticas do google

Enviado: 04 Mai 2016, 13:39
por mauroavila
Estou usando a versão nova do open cart e está acontecendo alguns erros e queria ajuda

quando fui acessar a area do cliente no admin clico e da a seguinte msg

Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in /home/jmimpre/public_html/loja/admin/controller/customer/customer.php on line 1105

deu um problema quando eu fui cadastrar no estatisticas do google e salvar

Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

Re: Erros ao Acessar Clientes e salvar estatisticas do googl

Enviado: 04 Mai 2016, 13:55
por mauroavila
SEGUE O RELATÓRIO DE ERROS DO OC

2016-05-04 16:12:20 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:12:20 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

2016-05-04 16:15:15 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:15:15 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

2016-05-04 16:15:20 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:15:20 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

2016-05-04 16:20:53 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:20:53 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12
2016-05-04 16:22:29 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:22:29 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

2016-05-04 16:22:35 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:22:35 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

2016-05-04 16:39:10 - PHP Notice: Undefined index: store_id in /home/jmimpre/public_html/loja/admin/controller/analytics/google_analytics.php on line 13

2016-05-04 16:39:10 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/jmimpre/public_html/loja/admin/controller/startup/error.php:34) in /home/jmimpre/public_html/loja/system/library/response.php on line 12

Re: Erros ao Acessar Clientes e salvar estatisticas do googl

Enviado: 04 Mai 2016, 23:53
por valdeir2000
Substitua a linha 13 do arquivo com erro por
Código: Selecionar todos
$store_id = isset($this->request->get['store_id']) ? $this->request->get['store_id'] : 0;
            
$this->model_setting_setting->editSetting('google_analytics', $this->request->post, $store_id);

Re: Erros ao Acessar Clientes e salvar estatisticas do google

Enviado: 22 Jun 2016, 23:51
por Danillofx
Tive o mesmo erro, a modificação deu certo.

obg

Re: Erros ao Acessar Clientes e salvar estatisticas do google

Enviado: 24 Ago 2017, 22:29
por Carlos Eduardo Cadu
MUITO OBRIGADOO precisava :D :D :D :D disso e foi prfeito !!!