Page 1 of 1
Recaptcha craziness driving me NUTS
Posted: Wed Feb 08, 2023 11:52 pm
by labeshops
This is driving me crazy and I hope one of you guys have a tip.
I've been having problems with google recaptcha and totally removed it - I thought!
Pagespeed test though keeps showing these 2 lines causing a HUGE slow down and for the life of me, I cannot even find them on my stores! I've checked source code of index, product, category, cart, and checkout pages as well as looking at all the js code scripts on them and cannot find the lines. Where in the h*** are these lines coming from that google sees them and I cannot??? I am also seeing these files in gtmetrix which seems to say it is in my headers, yet when I view my page source, it is NOT.
Google CDN
538 KiB
1,244 ms
https://www.gstatic.com/recaptcha/relea ... cha__en.js
485 KiB
1,244 ms
https://www.gstatic.com/recaptcha/relea ... s__ltr.css
I uninstalled it from extensions > captchas. Removed all modules I had for captcha. Deleted my account on captcha. Checked google analytics tag manager to make sure it wasn't a module there...every possible place I can think of where it might be coming from and cannot find it for the life of me!!! I do not use google cdn or any cdn for that matter so I cannot figure out where this is from either.
I am using opencart v3.0.3.2 on a litespeed server. I cleared all my caches every time I tried anything to fix it and yet these phantom lines are still in the pagespeed and gtmetrix reports.
It is driving me absolutely batty and please give me a clue where I might be able to get rid of it?
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 12:07 am
by Cue4cheap
Are you on a Unix flavor of webhost?
If so grep or find is your friend IF you have console (ssh) access to your site. I am not at a place to give you the command I use but you can search against the strings in all files and subdirectories.
Also you can look in your database to see if there is something there.
Just a couple of things to try. If no one has provided better info by the time I get to my house I can look at my command cheat sheet and provide what I use to search for text.
Mike
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 12:31 am
by labeshops
Cue4cheap wrote: ↑Thu Feb 09, 2023 12:07 am
Are you on a Unix flavor of webhost?
If so grep or find is your friend IF you have console (ssh) access to your site. I am not at a place to give you the command I use but you can search against the strings in all files and subdirectories.
Also you can look in your database to see if there is something there.
Just a couple of things to try. If no one has provided better info by the time I get to my house I can look at my command cheat sheet and provide what I use to search for text.
Mike
I have found SSH is enabled, but I have never used it. Would appreciate the command you use if you can let me know.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 1:38 am
by JNeuhoff
Clear and then refresh all caches, including those for OCmod.
You can use our
SpamBot Buster for preventing fake account registrations and spam messages on your OpenCart site, there is no need for a captcha.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 1:42 am
by labeshops
JNeuhoff wrote: ↑Thu Feb 09, 2023 1:38 am
Clear and then refresh all caches, including those for OCmod.
You can use our
SpamBot Buster for preventing fake account registrations and spam messages on your OpenCart site, there is no need for a captcha.
I already cleared all caches as I stated in my original post. I am not concerned right now about a new extension - just trying to solve this weird problem.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 2:51 am
by halfhope
Hi!
Use terminal command in site directory:
Code: Select all
find . -name "*.php" -type f -exec grep -H "search text" {} \;
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 3:26 am
by labeshops
halfhope wrote: ↑Thu Feb 09, 2023 2:51 am
Hi!
Use terminal command in site directory:
Code: Select all
find . -name "*.php" -type f -exec grep -H "search text" {} \;
Thanks. I am still trying to figure out how to get to my server via ssh. I found where it is enabled, but haven't gotten beyond that yet

Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 3:47 am
by Majnoon
labeshops wrote: ↑Thu Feb 09, 2023 3:26 am
Thanks. I am still trying to figure out how to get to my server via ssh.
You can follow this url
https://phoenixnap.com/kb/ssh-to-connec ... or-windows
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 3:48 am
by halfhope
I recommend you use PuTTY.
You also can use my script PHP_bash from
here.
1. Download and unzip script.
2. Open file and replace default password to yours.
3. Upload script to root directory of your site.
4. Run script from browser
https://site.com/b.php
5. Put command from my last message and run.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 5:18 am
by Johnathan
I did a quick search in your site source code and found that the "notify_btn" extension calls a g-recaptcha-response variable. It might have something built in, so you could check that before doing a site scan.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 6:47 am
by labeshops
Okay this is even weirder. When I view the page source, the recaptcha_en.js script line is NOT there. But when I use inspect in Chrome...it is!!! Wth???
It looks like it might be coming from my live chat program so I am looking into that now.
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 6:52 am
by labeshops
Johnathan wrote: ↑Thu Feb 09, 2023 5:18 am
I did a quick search in your site source code and found that the "notify_btn" extension calls a g-recaptcha-response variable. It might have something built in, so you could check that before doing a site scan.
Yes, I tried disabling it thinking that was it and...it wasn't. Neither is the live chat widget I thought might be it. So still trying to figure out where it is coming from

Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 2:21 pm
by Majnoon
Johnatan is right and it can be seen here:
https://prnt.sc/9Yl-WSarpEOe,
Maybe you want to disable the extension product out of stock notifications and see if it works.
Have you tried checking the system/setting/store > options?
https://prnt.sc/yGOwucTqntcW
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 5:51 pm
by paulfeakins
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 6:03 pm
by xxvirusxx
Error
Re: Recaptcha craziness driving me NUTS
Posted: Thu Feb 09, 2023 8:10 pm
by by mona
Code: Select all
https://www.google.com/recaptcha/api.js?onload=loadRecaptchaFord55c7a285ad711ed92bd8b6cf6a01c86&render=explicit
which is possibly being loaded by this ?
Code: Select all
<script async src="https://eocampaign1.com/form/d55c7a28-5ad7-11ed-92bd-8b6cf6a01c86.js" data-form="d55c7a28-5ad7-11ed-92bd-8b6cf6a01c86"></script>