Post by otalialv » Sun Apr 18, 2021 5:15 am

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!

Newbie

Posts

Joined
Thu Mar 11, 2021 1:51 am

Post by ADD Creative » Sun Apr 18, 2021 6:10 am

You need to check your PHP error log. Sometimes error_log or use phpinfo(); to find it.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by thekrotek » Sun Apr 18, 2021 6:48 am

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


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by khnaz35 » Sun Apr 18, 2021 9:55 am

add
-f in front of your mail parameter

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by otalialv » Mon Apr 19, 2021 3:27 am

I checked all logs from my Cpanel and prom Opencart admin, I can't find any information about this issue, this just not exist at log files. :(

Newbie

Posts

Joined
Thu Mar 11, 2021 1:51 am

Post by ADD Creative » Mon Apr 19, 2021 6:06 am

otalialv wrote:
Mon Apr 19, 2021 3:27 am
I checked all logs from my Cpanel and prom Opencart admin, I can't find any information about this issue, this just not exist at log files. :(
If you can't find an error_log in you web root or admin folder. Or use phpinfo(); to find it. Ask you host.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Mon Apr 19, 2021 10:07 pm

otalialv wrote:
Mon Apr 19, 2021 3:27 am
I checked all logs from my Cpanel and prom Opencart admin, I can't find any information about this issue, this just not exist at log files. :(
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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by otalialv » Sat May 08, 2021 7:16 pm

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 ?

Newbie

Posts

Joined
Thu Mar 11, 2021 1:51 am

Post by straightlight » Sat May 08, 2021 9:24 pm

otalialv wrote:
Sat May 08, 2021 7:16 pm
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 ?
Contact your host to enable the crypto library.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ADD Creative » Sun May 09, 2021 3:50 am

otalialv wrote:
Sat May 08, 2021 7:16 pm
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 ?
Could be that your host is blocking outing going SMTP.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: opencartmart and 26 guests