Fórum OpenCart Brasil

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

Suporte geral sobre problemas técnicos para OpenCart v1.x.
#3326
Olá amigo,, estou tendo um problema pareceido.. Só que minha página esta em um provedor Pago e que estava funcionando.. Agora parou logo depois que apaguei as fotos do gerenciados de imagens !! já tentei copiar a pasta imagens novamente por cima desta, mas não Funciona!! alguém tem uma idéia ??
#3327
Estes são os erros do log


2011-02-17 12:46:20 - PHP Warning: Invalid argument supplied for foreach() in /home/storage/e/a9/65/bi1/public_html/catalog/view/theme/default/template/module/homepageslideshow.tpl on line 30
2011-02-17 12:46:20 - PHP Warning: Invalid argument supplied for foreach() in /home/storage/e/a9/65/bi1/public_html/catalog/view/theme/default/template/module/homepageslideshow.tpl on line 30
2011-02-17 14:48:43 - PHP Warning: Invalid argument supplied for foreach() in /home/storage/e/a9/65/bi1/public_html/catalog/view/theme/default/template/module/homepageslideshow.tpl on line 30
2011-02-17 14:59:43 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:43 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:43 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 14:59:43 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:43 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:43 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 14:59:47 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:47 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:47 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 14:59:47 - PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 34
2011-02-17 14:59:47 - PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/home/storage/e/a9/65/bi1/public_html/image/data/Jogos/Quina.jpg' is not a valid JPEG file in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 34
2011-02-17 14:59:47 - PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 86
2011-02-17 14:59:47 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 87
2011-02-17 14:59:52 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:52 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:52 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 14:59:53 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:53 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:53 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 14:59:53 - PHP Notice: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 11
2011-02-17 14:59:53 - PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 43
2011-02-17 14:59:53 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 50
2011-02-17 15:00:18 - PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file
in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 34
2011-02-17 15:00:18 - PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/home/storage/e/a9/65/bi1/public_html/image/data/Jogos/Hexagon.jpg' is not a valid JPEG file in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 34
2011-02-17 15:00:18 - PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 86
2011-02-17 15:00:18 - PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/storage/e/a9/65/bi1/public_html/system/library/image.php on line 87
2011-02-17 15:26:28 - PHP Warning: rename(/home/storage/e/a9/65/bi1/public_html/image/data/Jogos,/home/storage/e/a9/65/bi1/public_html/image/data/Jogos/Jogos) [<a href='function.rename'>function.rename</a>]: Invalid argument in /home/storage/e/a9/65/bi1/public_html/admin/controller/common/filemanager.php on line 289
#4989
Vá em http://members.000webhost.com/analytics.php escreva o nome do seu domínio e senha e selecione Disable Code, clique em submit. Com isso você já poderá ver as fotos, mas ainda não poderá selecioná-las. Para selecioná-las vá em /public_html/pasta_da_sua_loja/ e localize o arquivo php.ini, altere os valores para os parâmetros em negrito abaixo de OFF para ON e tudo deverá funcionar corretamente.

magic_quotes_gpc = On;
register_globals = On;
default_charset = UTF-8;
memory_limit = 64M;
max_execution_time = 18000;
max_upload_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = On;
session.gc_maxlifetime = 12000000;
RESOLVIDO - VALEW - MUITO OBRIGADO MESMO. FÉ EM DEUS QUE MEUS NEGOCIOS TENHAM SUCESSO.
#12469
Olá pessoal, como mostrado acima esse tópico ficou sem solução eficiente. Bem passei pela mesma situação e consegui resolver a tal mensagem mostrada.
No meu caso eu baixei todas as imagens dos produtos, depois fui analizar se existia alguma imagem corrompida, e batata, existia dentre as mais de 600 imagens, uma única que estava corrompida, com 0kb, isso é o que faz essa mensagem ser mostrada.

Espero ter contribuido para que está com a mesma situação.
#12475
Com certeza vai ajudar :D
manives escreveu:Olá pessoal, como mostrado acima esse tópico ficou sem solução eficiente. Bem passei pela mesma situação e consegui resolver a tal mensagem mostrada.
No meu caso eu baixei todas as imagens dos produtos, depois fui analizar se existia alguma imagem corrompida, e batata, existia dentre as mais de 600 imagens, uma única que estava corrompida, com 0kb, isso é o que faz essa mensagem ser mostrada.

Espero ter contribuido para que está com a mesma situação.
#13372
Olá amigos!
estou com o seguinte problema na instalação do opencart com o tema vasco, o erro e o seguinte:

Warning: Invalid argument supplied for foreach() in D:\wamp\www\catalog\view\theme\vasco\template\module\homepageslideshow.tpl on line 44

será se eu seguir os exemplos visto aqui por outros usuários resolveria?

peço ajuda

obrigado
jc
#31780
Estou com a seguinte mensagem de erro endo mostrada em apenas uma categorias das imagens:
Código: Selecionar todos
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/centrald/public_html/image/cache/data/Produtos/Eletronicos/Telefone-sem-fio-philips-cd1751b-40x40.jpg' for writing: Permission denied in /home/centrald/public_html/system/library/image.php on line 45