I have a problem in making reCaptcha 2.0 work on my live website.
It works fine on the localhost but when I am trying to use it on the live website on AlterVista it just loops.
I use it for contact form. Whenever I try to fill the form for a test, then solve the reCaptcha 2.0 and click "send email"
The page simply refreshes with all the form filled again and I can keep doing that over and over but nothing really gets through.
I am on Joomla 3.4.3. Using built-in reCaptcha plugin. It works fine if I switch to 1.0 but won't work when on 2.0.
My keys are 3 days old, they are 2.0 keys and I have already tried deleting the keys and getting new ones, which didn't help.
I asked around and some people said I should try enabling:
allow_url_fopen
on my server... I tried doing that by adding:
php_value allow_url_fopen On
to .htaccess
but that didn't help either.
Some of the people I asked pointed out that this might be an issue on my hosting so I'm posting this thread here.
Maybe something is wrong like on the whitelist or some other php setting that is breaking that reCaptcha 2.0?
Any help is appreciated.
---
A friend gave me this advice, after one 3rd party extension made captcha to work somehow.
He wrote this:
"It would appear that your server has CURL enabled but has allow_url_fopen set to Off. This cannot be enabled by a simply ini_set() function so unless you have access to your php.ini file to change it, you're going to have to either ask your hosting provider to enable it or stick with the other extension you're using"
So, who should I contact here to get this allow_url_fopen to be set on?
You have to unlock the server to server connections, go in the AlterVista control panel, Resources section then Edit PHP Settings. You'll find the server to server connections settings at the bottom of the page.
Sorry, that didn't work for me. Which file were you trying to modify if I may know by the way?
I guess it's ok. Perhaps it's some kind of limitation?
I have switched from the built-in plugin to something a friend cooked up, an extension that takes into account curl and fopen being set differently.
So I guess it will do for me.
I don't really have a need to use built-in joomla's plugin when a 3rd party does the job in the current environment.
So yeah, let's just bring the file back to how it was and I will continue setting my page.
Thanks again for the help.