News:

AbanteCart v1.4.3 is released.

Main Menu

Recent posts

#1
Support / Re: reCAPTCHA Human verificati...
Last post by kavlito - November 15, 2025, 01:45:53 PM
I used ChatGPT to resolve this based on the error log msg. In my case, it was due to 'allow_url_fopen' not being enabled in my servers PHP settings.

QuoteCHATGPT RESPONSE:

Ahhh, perfect – that error log is the smoking gun.

file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found

That means:

👉 Your AbanteCart + reCAPTCHA setup is basically fine.
👉 The problem is your server's PHP config can't make HTTPS requests.

So it's not the keys, not the domains, not v2 vs v3. It's PHP.

1. What "no suitable wrapper could be found" actually means

In PHP, file_get_contents() can fetch URLs only if:

allow_url_fopen is On, and

The https stream wrapper is available (usually via the openssl extension).

If either is missing/disabled, PHP can't handle https://... URLs, and you get exactly:

no suitable wrapper could be found

So AbanteCart is trying to call Google here:

https://www.google.com/recaptcha/api/siteverify


...but PHP doesn't know how to speak HTTPS from that environment.

2. The real fix: enable HTTPS URL support in PHP

Since you're on /home/domain/public_html/..., this is almost certainly a cPanel/shared-host style setup.

Step A – Check your PHP configuration

Option 1: From AbanteCart (if phpinfo is available)
Sometimes under System → Engine → Tools or similar, there's a "PHP Info" link.
If you see it:

Open phpinfo.

Look for:

allow_url_fopen → should be On

openssl section → should exist and be enabled

Option 2: Via a tiny phpinfo file

In public_html/, create a file called phpinfo.php with:

<?php phpinfo();


Visit https://domain.com/phpinfo.php

Check:

allow_url_fopen

openssl extension

Registered stream wrappers – you should see https listed.

Delete phpinfo.php when you're done (don't leave it live).

Step B – Turn things ON in cPanel

Log into cPanel for this account:

Go to Select PHP Version or MultiPHP INI Editor (depends on host).

Make sure:

PHP version is reasonably recent (e.g., 7.4 / 8.0 / 8.1, not something ancient).

Extensions: check the box for openssl.

In MultiPHP INI Editor (or similar), ensure:

allow_url_fopen = On


Save / Apply changes.

Clear AbanteCart cache (from admin).

Test your form again.

If you don't see those controls, or they're locked, just send this exact text to your host:

"My PHP error log shows:
file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found

Please enable the PHP https stream wrapper for this account (ensure allow_url_fopen is On and the openssl extension is enabled), so file_get_contents can access HTTPS URLs."

Once they enable that, reCAPTCHA will start validating properly.

3. Optional workaround: use cURL instead of file_get_contents

Only if your host refuses to enable allow_url_fopen or https wrappers, you can hack around it by switching the reCAPTCHA library to use cURL (if cURL is available).

Look at:

/core/vendors/google_recaptcha/ReCaptcha/RequestMethod/Post.php
/core/vendors/google_recaptcha/ReCaptcha/RequestMethod/CurlPost.php  (if present)


In some versions of the official Google library, the main ReCaptcha class chooses cURL automatically when available. If AbanteCart's version is forcing Post (file_get_contents) instead of CurlPost, you could:

Change the code that instantiates RequestMethod\Post to RequestMethod\CurlPost (assuming the file exists and cURL is enabled).

But honestly:
✅ The clean, future-proof solution is to fix PHP config on the server.
That way other things (payments, external APIs, etc.) also work correctly.

4. Summary / what you should do next

Stop worrying about keys/domains – they're not the issue now.

Fix PHP https support:

Ensure allow_url_fopen = On

Ensure openssl is enabled

Confirm https appears in PHP stream wrappers

Retest the form after AbanteCart cache clear.

If you'd like, paste back a couple of lines from your phpinfo (just the bits for allow_url_fopen and whether openssl shows up), and I can confirm if the server is configured correctly.
#2
Support / Re: reCAPTCHA Human verificati...
Last post by kavlito - November 15, 2025, 01:18:25 PM
This has absolutely never worked. I have everything set up correctly (created over a dozen keys both v2 & v3 - it's not that difficult) and still get the error message: Human verification has failed! Please try again.

Error log shows: warning: AbanteCart core v.1.2.16 file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found in <b>/home/domain/public_html/core/vendors/google_recaptcha/ReCaptcha/RequestMethod/Post.php</b> on line <b>80</b>
#3
Configuration / Re: AC Version 1.4.3- DISCOUN...
Last post by ixl - November 15, 2025, 03:07:18 AM
This worked perfectly... Thank you for your kind help.
#4
SEO / Google Search Console Tips
Last post by alifshorif - November 15, 2025, 01:01:36 AM
How can fix 302 and 301? which is best practice for SEO? how i save my crawl budget?

Anyone can help me?
#5
SEO / Re: Link Building: Why Your We...
Last post by alifshorif - November 15, 2025, 12:57:43 AM
100% true and Absolutely — link building is a game-changer for any website that wants to grow and compete online. its helps increase DA PA and Google trust. so you can try to create high quality backlinks like guest post, broken link, PR. Forum or others.

Best regards
Alif Shorif
SEO analyst at ICS legal
#6
General Discussion / Re: How to speed up product im...
Last post by benbaker - November 14, 2025, 12:26:03 PM
I ran into a similar problem while helping a friend organize her digital files for a project with Houston Book Publisher. She joked that waiting for images to load felt slower than her early drafts getting reviewed by some of the top self publishing book companies. What helped her was compressing images without losing quality and enabling lazy loading so only visible images loaded first.
#7
Configuration / Re: AC Version 1.4.3- DISCOUN...
Last post by ixl - November 14, 2025, 10:57:04 AM
Quote from: Basara on November 14, 2025, 09:11:44 AMHello.
It looks like you're using the Novator theme. For Novator, you should add the rule into this file instead: /extensions/novator/storefront/view/novator/css/tm_style.css
Alternatively, if you prefer not to edit theme files directly, there are extensions on the marketplace that let you add custom CSS safely without modifying the template, useful if you want to keep things update-proof.

Hi

Yes thats correct, I did state that in my first post.

Thank you so much for the guidance, i'll give that a go.

Thanks again.
#8
Configuration / Re: AC Version 1.4.3- DISCOUN...
Last post by Basara - November 14, 2025, 09:11:44 AM
Hello.
It looks like you're using the Novator theme. For Novator, you should add the rule into this file instead: /extensions/novator/storefront/view/novator/css/tm_style.css
Alternatively, if you prefer not to edit theme files directly, there are extensions on the marketplace that let you add custom CSS safely without modifying the template, useful if you want to keep things update-proof.
#9
Configuration / Re: AC Version 1.4.3- DISCOUN...
Last post by ixl - November 14, 2025, 08:23:05 AM
Quote from: Basara on November 14, 2025, 02:52:44 AMHello.
You need to override CSS rule
.product-card .prod-badge {font-size: 20px;}

Thank you for this.

Which CSS file would I apply that within, or is there a way to apply it via the ababte admin interface?

(I cannot see one )

There are however 5 CSS files. I assume the 4th one? ( but appending that code to it has not done anything, even after clearing the data. Unless there is another set of CSS files?


/storefront/view/default/css


bootstrap,embeded.css
embed.css
pay.css
sytle.css
template.debug.css

Thanks

#10
General Support / Re: Extension : JSON-LD for St...
Last post by mulleinjest - November 14, 2025, 03:56:44 AM
Quote from: Basara on November 05, 2025, 01:52:39 AMHello.
When you mention adding JSON-LD structured data, are you referring specifically to Google's JSON-LD schema markup for SEO (e.g., Product, Organization, or Breadcrumb structured data)?
Thanks for sharing. The SEO journey today is really challenging with the strong fluctuations of Google.

Forum Rules Code of conduct
AbanteCart.com 2010 -