Page 1 of 1

Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 6:16 am
by Busta1066
Hi guys,

I am using OC 3.0.2.0 and have recently moved my website and database to a new hosting site. My problem is that google recapcha will no longer display any images when clicking "im not a robot" , and will no longer let me in to admin! Can i remove it or sort it out via ftp please?

Many thanks in advance

Re: Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 9:22 am
by jrr
Busta1066 wrote:
Fri Jul 10, 2020 6:16 am
I am using OC 3.0.2.0 and have recently moved my website and database to a new hosting site. My problem is that google recapcha will no longer display any images when clicking "im not a robot" , and will no longer let me in to admin! Can i remove it or sort it out via ftp please?
I'm assuming you have access to your database - I'd start looking there for recapcha settings that look safe to change, after doing a SQL backup of course!.

Re: Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 4:29 pm
by Busta1066
all sorted found the settings in my database! How do i fix the issue so i am able to use captcha again so its fully functioning

Thanks again

Re: Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 5:23 pm
by sw!tch
If you changed domain names you may need to generate a new key from your reCAPTCHA account or add the domain to your existing key.

FYI - It will usually show an error in the reCAPTCHA box if it's a domain issue. I never seen it not load images, that sounds more like a browser issue.

Re: Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 5:34 pm
by Busta1066
sw!tch wrote:
Fri Jul 10, 2020 5:23 pm
If you changed domain names you may need to generate a new key from your reCAPTCHA account or add the domain to your existing key.

FYI - It will usually show an error in the reCAPTCHA box if it's a domain issue. I never seen it not load images, that sounds more like a browser issue.
Yes
Yes it is very odd, i have renewed my captcha secret and site codes, but when i select i am not a robot all it does is ticks, and upon submit it just tells me that the image selection was not correct. After about 10 trys the images appear and, upon selecting the correct images - again it tells me its an incorrect selection. I have tried on other browsers as well as other devices, but all gave the same error. For now it is deactivated, but i feel less secure.

Any help would be fantastic, as i have not found anything on google as of yet

Warm Regards

Jay

Re: Recapch v2 not working after site migration

Posted: Fri Jul 10, 2020 6:36 pm
by paulfeakins
So you have ReCAPTCHA on your admin? That's not a built-in feature is it? So what extension is that?

Re: Recapch v2 not working after site migration

Posted: Sat Jul 11, 2020 3:37 am
by jrr
paulfeakins wrote:
Fri Jul 10, 2020 6:36 pm
So you have ReCAPTCHA on your admin? That's not a built-in feature is it? So what extension is that?
Indeed, why would anyone add ReCaptcha to their /admin directory? Easier to first - change the name of the '/admin' directory to something else, and then use .htaccess and .htpasswd to password protect the admin directory! This step means you now have two levels of protection for admin. Here is one example [url]https://davidwalsh.name/password-protec ... g-htaccess[/url of the process...