Fórum OpenCart Brasil

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

Suporte geral sobre problemas técnicos para OpenCart v1.x.
#8560
Olá pessoal, sou novo na comunidade e no Opencart e estou adorando os dois. Testei outras lojas virtuais mas com nenhuma "rolou a química" que rolou com o Opencart. É um sistema amigável e bem feito e a comunidade Opencart Brasil também está de parabéns!
O problema que estou tendo, é mínimo mas gostaria de resolver. Quando você finaliza uma compra e adiciona um comentário sobre o pedido aparece o seguinte erro:
Código: Selecionar todos
Warning: sprintf() [function.sprintf]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
Dei uma olhada neste arquivo e até comparei com os originais do opencart e não achei nada de estranho. A compra é concluída, ambas partes recebem os e-mails de confirmação e a compra é finalizada com exito, porém não é mostrada a mensagem completa de conclusão com o link para "contate-nos". Este erro não acontece se o cliente não colocar um comentário.
Estou usando o opencart 1.5.1 e a forma de pagamento que estou testando é o "Pagamento na Entrega".
Desde já agradeço a atenção!
Editado pela última vez por unknown1140 em 08 Set 2011, 08:30, em um total de 1 vez.
#8878
Tenho investigado este erro, mas ainda não achei nada. Descobri que o erro é pior do que eu imaginava. Quando vc finaliza um produto e estiver utilizando qualquer browser q não seja o Chrome ele dá um erro parecido com o 404. Não importa se vc coloca um comentário ou não.
No Firefox ele dá o seguinte erro:
Erro na codificação do conteúdo
A página que você está tentando abrir não pode ser exibida porque usa uma forma não suportada ou inválida de compactação.
Por favor, contate os responsáveis pelo site para informá-los deste problema.
No Opera ele mostra o seguinte:
Warning: sprintf() [function.sprintf]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
Mais um monte de símbolo q não consigo copiar e colar aqui.
Procurei tb no fórum oficial e a única coisa q achei foi alguém com um erro parecido q era uma string q tava faltando numa tradução, mas já verifiquei e não achei nada.
Um pouco do meu log de erros:
Código: Selecionar todos
2011-08-28 2:22:45 - PHP Notice:  Undefined variable: download in /home/politur/public_html/loja/catalog/view/theme/default/template/module/account.tpl on line 16
2011-08-28 2:23:14 - PHP Notice:  Undefined variable: text_download in /home/politur/public_html/loja/catalog/view/theme/default/template/module/account.tpl on line 16
2011-08-28 2:52:52 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-08-28 2:54:55 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-08-28 2:55:44 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-08-28 12:29:18 - PHP Warning:  unlink(/home/politur/public_html/loja/system/cache/cache.language.1314501289) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/politur/public_html/loja/system/library/cache.php on line 14
2011-08-28 14:01:51 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-08-29 13:16:29 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-08-30 1:39:51 - PHP Warning:  unlink(/home/politur/public_html/loja/system/cache/cache.category.2.59.1314664938) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/politur/public_html/loja/system/library/cache.php on line 14
2011-08-30 1:39:51 - PHP Warning:  unlink(/home/politur/public_html/loja/system/cache/cache.category.2.64.1314664938) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/politur/public_html/loja/system/library/cache.php on line 14
2011-08-30 1:39:51 - PHP Warning:  unlink(/home/politur/public_html/loja/system/cache/cache.category.2.64.1314664938) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/politur/public_html/loja/system/library/cache.php on line 14
2011-08-30 21:22:44 - PHP Warning:  unlink(/home/politur/public_html/loja/system/cache/cache.language.1314716123) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /home/politur/public_html/loja/system/library/cache.php on line 14
2011-09-02 13:40:32 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-09-02 13:41:31 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
2011-09-07 2:03:19 - PHP Notice:  Undefined variable: order_id in /home/politur/public_html/loja/catalog/controller/account/order.php on line 110
2011-09-07 2:07:12 - PHP Warning:  sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in /home/politur/public_html/loja/catalog/controller/checkout/success.php on line 52
Será q alguém consegue me ajudar? Estou desesperado e não sei o q fazer...