Fórum OpenCart Brasil

Por um e-commerce livre, confiável e profissional

Suporte geral sobre problemas técnicos para OpenCart v1.x.
Por isleno
#25447
Olá, uso o opencart 1.5.3.1
Ao clicar em um pedido por exemplo pelo link http://loja.genesiseries.com/index.php? ... der_id=298
Dá o erro:

Notice: Undefined variable: order_id in /home/genesise/public_html/loja/catalog/controller/account/order.php on line 149Warning: Cannot modify header information - headers already sent by (output started at /home/genesise/public_html/loja/index.php:100) in /home/genesise/public_html/loja/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/genesise/public_html/loja/index.php:100) in /home/genesise/public_html/loja/system/engine/controller.php on line 29

E também no painel de controle mostra:

012-08-06 21:45:30 - PHP Notice: Undefined variable: order_id in /home/genesise/public_html/loja/catalog/controller/account/order.php on line 149
2012-08-06 21:45:30 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/genesise/public_html/loja/index.php:100) in /home/genesise/public_html/loja/system/engine/controller.php on line 28
2012-08-06 21:45:30 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/genesise/public_html/loja/index.php:100) in /home/genesise/public_html/loja/system/engine/controller.php on line 29

O que poderia ser isso?

As respectivas linhas são:
Código: Selecionar todos
Order.php linha 149
			$this->session->data['redirect'] = $this->url->link('account/order/info', 'order_id=' . $order_id, 'SSL');

e controler.php linha 28
		header('Status: ' . $status);
linha 29
		header('Location: ' . str_replace('&', '&', $url));
Alguma ideia?
Obrigado!!
#25457
Olá,

Este erro era comum antes da versão 1.5.1.3, e foi totalmente corrigido desde então, então pergunto, será que você não instalou alguma extensão/modificação que pode está ocasionando este problema, ou mesmo instalou um tema que lhe trouxe este erro ? Pergunto pois testei aqui na versão 1.5.3.1 e realmente o erro não existe.

Espero ter ajudado. :D