Fórum OpenCart Brasil

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

Por favor, poste aqui todas as dúvidas que você está tendo sobre a instalação, atualização ou configuração do OpenCart v1.x
#76134
Fala colegas,

Instalei o OC v.3.x no ambiente Windows Azure (PHP 7.x) , contudo não estou conseguindo acertar a configuração do email, tentei várias que achei na internet e inclusive aqui. .. Alguém tem alguma configuração mais acertiva? Porque já perdi muiiito tempo..

Configurações que estou utilizando
Biblioteca: SMTP
Servidor: smtp.gmail.com (tentei o Office365) , usei ssl:// e tls:// ...
Porta: 25, 587, 456 ....

Segue o log atual..
Código: Selecionar todos
2017-11-21 21:09:39 - PHP Warning:  stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in D:\home\site\wwwroot\system\library\mail\smtp.php on line 140
2017-11-21 21:11:06 - PHP Warning:  stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in D:\home\site\wwwroot\system\library\mail\smtp.php on line 140
2017-11-21 21:42:00 - PHP Warning:  stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in D:\home\site\wwwroot\system\library\mail\smtp.php on line 140
2017-11-21 22:10:17 - PHP Warning:  fopen(D:/home/site/storage/cache/cache.catalog.language.1511305817): failed to open stream: Permission denied in D:\home\site\wwwroot\system\library\cache\file.php on line 49
2017-11-21 22:10:17 - PHP Warning:  flock() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 51
2017-11-21 22:10:17 - PHP Warning:  fopen(D:/home/site/storage/cache/cache.catalog.language.1511305817): failed to open stream: Permission denied in D:\home\site\wwwroot\system\library\cache\file.php on line 49
s parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 55
2017-11-21 22:10:17 - PHP Warning:  flock() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 57
2017-11-21 22:10:17 - PHP Warning:  flock() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 51

2017-11-21 22:10:17 - PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 59
2017-11-21 22:10:17 - PHP Warning:  fflush() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 55
2017-11-21 22:10:17 - PHP Warning:  fflush() expects parameter 1 to be resource, boolean given in D:\home\site\wwwroot\system\library\cache\file.php on line 55
#76159
Olá @hello@ivaldo.eti.br.

A primeira coisa que você deve verificar é se seu servidor está com a porta utilizada para o envio do e-mail habilitada.
A segunda é utilizar um serviço de e-mail que não seja gratuito, e utilizar SMTP para o envio do e-mail por tls, e não por ssl pois o log de erro deixa claro que seu servidor não está configurado para autenticar por SSL.

Espero ter ajudado. :)

Gente preciso de ajuda urgente. Na migraç&a[…]

Caro @reds , muito obrigado pela resposta.

PHP 8+ incompatibilidade

Toda tradução para a versão 3[…]

Ola @alex3257 Se você precisa apenas ver […]