Hello, everybody!
I installed a Opencart 3.0.3.7.
I configure email via SMTP and set settings to:
Mail Engine = SMTP
Mail Parameters = mygmailmail@gmail.com
SMTP Hostname = tls://smtp.gmail.com
SMTP Username = mygmailmail@gmail.com
SMTP Password = Sorry not today =)
SMTP Port = 465
SMTP Timeout = 5
I create order, fill all fields and after when I prese Confirm order I receive pop-up message "Internal server error", ok, I opened developer console un receive a:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /index.php?route=extension/payment/cod/confirm
When i press confirm order I receive second message:
/index.php?route=extension/payment/cod/confirm:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET /index.php?route=extension/payment/cod/confirm 500 (Internal Server Error)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
eval @ VM20:2
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
Before using a Gmail account I tried to office 365 and riceive something error.
I checked all Google results and nothing.
Thanks!
I installed a Opencart 3.0.3.7.
I configure email via SMTP and set settings to:
Mail Engine = SMTP
Mail Parameters = mygmailmail@gmail.com
SMTP Hostname = tls://smtp.gmail.com
SMTP Username = mygmailmail@gmail.com
SMTP Password = Sorry not today =)
SMTP Port = 465
SMTP Timeout = 5
I create order, fill all fields and after when I prese Confirm order I receive pop-up message "Internal server error", ok, I opened developer console un receive a:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /index.php?route=extension/payment/cod/confirm
When i press confirm order I receive second message:
/index.php?route=extension/payment/cod/confirm:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jquery-2.1.1.min.js:4 GET /index.php?route=extension/payment/cod/confirm 500 (Internal Server Error)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
eval @ VM20:2
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
Before using a Gmail account I tried to office 365 and riceive something error.
I checked all Google results and nothing.
Thanks!
You need to check your PHP error log. Sometimes error_log or use phpinfo(); to find it.
Error 500 is a generic error. As said above, check your error logs.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
If you can't find an error_log in you web root or admin folder. Or use phpinfo(); to find it. Ask you host.
Since you're using cPanel, I would suggest to check in your root FTP > logs folder for tar.gz files (most recent ones) and look at your error logs in there. You first need to download the file and extract the compressed data. These logs can basically be viewed in notepad.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello!
This issue is actual, now i receive reply from server
2021-05-08 14:07:47 - PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`cpanel-3.hostnet.lv' did not match expected CN=`smtp.gmail.com' in /home/store/mystore.com/system/library/mail/smtp.php on line 129
any ideas ?
This issue is actual, now i receive reply from server
2021-05-08 14:07:47 - PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`cpanel-3.hostnet.lv' did not match expected CN=`smtp.gmail.com' in /home/store/mystore.com/system/library/mail/smtp.php on line 129
any ideas ?
Contact your host to enable the crypto library.otalialv wrote: ↑Sat May 08, 2021 7:16 pmHello!
This issue is actual, now i receive reply from server
2021-05-08 14:07:47 - PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`cpanel-3.hostnet.lv' did not match expected CN=`smtp.gmail.com' in /home/store/mystore.com/system/library/mail/smtp.php on line 129
any ideas ?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Could be that your host is blocking outing going SMTP.otalialv wrote: ↑Sat May 08, 2021 7:16 pmHello!
This issue is actual, now i receive reply from server
2021-05-08 14:07:47 - PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`cpanel-3.hostnet.lv' did not match expected CN=`smtp.gmail.com' in /home/store/mystore.com/system/library/mail/smtp.php on line 129
any ideas ?
Add Creative is correct, your web hosting provider is blocking PHP from creating external SMTP connections. This quite commonly done by low cost hosting providers to prevent abuse from the millions of vulnerable scripts that end up getting hacked and a mail dispatch script gets dropped.
You will either need to make use of a non-smtp mail service like sendgrid (though their free / cheap plans below 'dedicated ip' are pretty useless). The other option would be use send mail from the local service you are on (assuming it provides such a service).
You will either need to make use of a non-smtp mail service like sendgrid (though their free / cheap plans below 'dedicated ip' are pretty useless). The other option would be use send mail from the local service you are on (assuming it provides such a service).
Who is online
Users browsing this forum: paulfeakins and 411 guests