Page 1 of 1
[CLOSED] Opencart buying error (server/ssl certificate error)
Posted: Tue Apr 22, 2025 3:35 pm
by Mariogs
I use opencart 3.0.4 and When I try to buy something I get this error.
I have checked certificate and it is till valid. I use nginx. I also use google captcha extension.
sellyour3d.com
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
parsererror
Code: Select all
<b>Warning</b>: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000126:SSL routines::unexpected eof while reading in <b>/var/www/html/opencart/catalog/controller/extension/captcha/google.php</b> on line <b>27</b>
Re: Opencart buying error
Posted: Tue Apr 22, 2025 6:37 pm
by ADD Creative
Try contacting your host. The error suggests that there may be something wrong with the server missing certificates or ciphers. These will not be the same ones used by you domain.
Re: Opencart buying error
Posted: Tue Apr 22, 2025 7:20 pm
by paulfeakins
As above your host probably needs to update OpenSSL on the server.
Re: Opencart buying error
Posted: Tue Apr 22, 2025 7:23 pm
by Mariogs
paulfeakins wrote: ↑Tue Apr 22, 2025 7:20 pm
As above your host probably needs to update OpenSSL on the server.
It is my server and I checked certificates and are ok. And when I disable google captcha and use basic captcha than it is ok.
Re: Opencart buying error
Posted: Tue Apr 22, 2025 7:49 pm
by by mona
It is not an opencart error it is a server error.
Something is probably wrong with your server settings or installed packages.
You can request commercial support
viewforum.php?f=88
Maybe consider using a host.
FYI Live sites should not have any active error logging it is a security risk
Re: Opencart buying error
Posted: Wed Apr 23, 2025 5:43 pm
by paulfeakins
Mariogs wrote: ↑Tue Apr 22, 2025 7:23 pm
paulfeakins wrote: ↑Tue Apr 22, 2025 7:20 pm
As above your host probably needs to update OpenSSL on the server.
It is my server and I checked certificates and are ok. And when I disable google captcha and use basic captcha than it is ok.
No, you're not understanding, OpenSSL is software on the server it is NOT your SSL certificate.
If you know this little about servers, you should not have an un-managed server with a live ecommerce website, it's a security risk for your customers.
Re: Opencart buying error
Posted: Thu Apr 24, 2025 5:51 pm
by faca5
Hello.
Problem is related to OpenSSL and Google reCaptcha.
If you disable Google reCaptcha in Extensions > Extensions > Captcha > Google > Edit > Status: Disabled > Save, error should disappear.
You can change your settings under System > Settings > Options > add the bottom "Captcha Page", check for "Checkout".
Re: Opencart buying error
Posted: Tue May 13, 2025 3:37 pm
by Mariogs
I will give up on opencart, because nothing works. I am trying to start this store for a 7 months now and all the time something doesn't work. All the time there is a problem. I have installed opencart for 15 times I even install new server and start all over for 3 times. And now google captcha doesn't work also adding paypal into opencart doesn't work, changing theme also doesn't work.. I give up. I never had so many problems with php software and I have installed alot of it.
This takes way too much time for me.
Re: Opencart buying error
Posted: Tue May 13, 2025 4:00 pm
by ADD Creative
Mariogs wrote: ↑Tue May 13, 2025 3:37 pm
I will give up on opencart, because nothing works. I am trying to start this store for a 7 months now and all the time something doesn't work. All the time there is a problem. I have installed opencart for 15 times I even install new server and start all over for 3 times. And now google captcha doesn't work also adding paypal into opencart doesn't work, changing theme also doesn't work.. I give up. I never had so many problems with php software and I have installed alot of it.
This takes way too much time for me.
The issue posted here is definitely a server issue. The code that causes the error is simply as follows with some extra parameters. all it is doing is making a request to Google. Should be not problem for any server configured correctly. You can even try the code on it's own in a .php file.
Code: Select all
file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=');
The latest PayPal Checkout extension does seem to have some issues connecting, unfortunately. Did you ever try the manual connection method?
https://github.com/Dreamvention/paypal? ... hese-steps
What issue were you having switching theme? Sadly there are some poor quantity themes and extension about.
Re: [CLOSED] Opencart buying error (server/ssl certificate error)
Posted: Wed Jul 02, 2025 1:48 pm
by Mariogs
Is there anyone which can fix all those issues and for how much?