I am developing a website using Drupal 6 and I enable the reCaptcha module to check its functionality. It now redirects me to the google recaptaha page : https://www.google.com/recaptcha/admin/create
I am not sure of the exact process and I have not set the keys yet, which I can do only if I can get access to my site. I am not able to login and even disable the module. Based on the suggestion on Drupal forum, I accessed the database and disable the module from the system table but I still get the redirection. I cleared all the cache tables in the MySQL database but still the same. What should i do to get access and disable the module? Is there any good tutorial/video to set the reCapthca module?
Try the following:
1. Clear your browser cache and cookies
2. Check with different browser
backup the recaptcha row from the system table.
delete the recaptcha row in the system table.
That should disable the module.
if still give the same error please access your drupal website cron job url
the link will look like
http://www.yoursite.com/cron.php
Related
I'm new to wordpress, literally the first time using it, and now i am frustrated because i cannot even get in on the page even as an admin because of the error on the title.
So here's how it went :
i wanted to add social login for my web
i install nextend social login and use the google platform for it
i did every step right (i made sure of it, there's a list of steps in the nextend i just simply follow it)
i copy the secret id and cope, i verify it and i wanted to test it out
so i log out of my user, and i don't even see the google button to login (maybe because i haven't add it (i thought it's automatic))
and so i went to login using user and password turns out it gives me an error
ERROR :reCAPTCHA verification failed. Please Try Again.
i have searched at google, youtube and nothing seems to work, please help
Note : i cannot get into my account
Option 1: Examine what other plugins you have installed.
Perhaps one of them is interfering e.g if you have cache plugin, you might want to clear your browser cache and try again and/or disable the cache plugin entirely
Option 2: Disable and re-install
If you have access to the host account, you can disable and re-install the plugin via phpmyadmin or ftp as shown in the following article.
https://kinsta.com/knowledgebase/disable-wordpress-plugins/
Go to your hosting login to WP through there to your admin panel.
Go to your google reCAPTCHA account get keys and paste them to your reCAPTCHA plugin on Wordpress again.
I did something very stupid. In my dashboard on the google recaptcha website I deleted the keys for the wrong website.
Now I can not even login to the admin panel on my Wordpress site anymore to disable recaptcha, because the captcha gives an error when logging in.
Is there a workaround to get logged in to the admin panel so I can disable recaptcha?
Or can I restore my recaptcha-keys in the dashboard somehow?
I can not find either solutions on google.
I can access the files on the FTP server to maybe disable recaptcha in the code somehow? But I can't find the right file.
Any help will be appreciated!
If you are on Cpanel, you can drop down to the "Softalicious" section which will list your WP installations. It also has a login button to take you directly into the admin section. (I installed Cloudflare's Turnstyle. If if finds an error, it says "Veify you are human" ... but provides no method to do just that! So I too had t log in via this backdoor method!)
I seem to be only able to access the wordpress json api when I am logged in in wordpress (no matter which endpoint, even on GET mypage.com/wp-json/). When I remove all cookies or logout and call the endpoint I get redirected to the login-screen.
Is this the desired behavior when I do not use nonces?
This happens on our staging environment, on our live-page everything works, I get results from the JSON API even if I am not logged in.
We created the staging site with the plugin from https://wp-staging.com/
So maybe there is a setting missing which has not been copied over? Or can I turn off checking for authentication / nonces on the API somewhere in the wordpress settings?
It turns out that the WP Staging Plugin has an option to limit access to the staging page which is set to "Administrators" by default. Turned it to "Allow access from all" and now it works.
On a WP website that I was asked to work on - it took me a lot of hours on debugging my own code (initially), then to start investigating the theme and finally deeper in other plugins and wp-core...
After all that, I found that the plugin members has functionality to restrict the rest_api access only to logged-in users.
There is a setting for this in the settings page of the plugin.
REST API -> Require authentication for access to the REST API.
So, I am posting this here, in case it could help someone else to avoid the same headache I encountered with this.
I am having some issues with my Drupal 7.
Because of a different bug I am having with component or panel, one that is taking over pages and hiding other parts of a page somehow, my login page has been corrupted.
what is supposed to be my /user and/or user/login page looks completely as it should not look. The username and password prompt and input fields are missing because of a component which needs to be removed. This component has somehow managed to cover or hide the thing I need.
The bug that has caused this problem is beyond the scope of this post but I believe that it is probably a requirement to log into the admin panel in order to fix the issue.
How do I log in if I can not get the login prompt page to come up as it should?
drush
You can request a one time login link for any user account using the drush command user-login :
drush user-login <uid|username|email>
It's aliased uli and default to 1 (admin), the following has probably saved millions of drupal devs ;) :
drush uli
Services module
You can also login "RESTFully" via cURL or equivalent by submitting a POST request to the appropriated endpoint without loading the form. You just need the services module.
Login remotely to Drupal 7 site using services
Authenticated Request with cURL
I have tried to implement Drupal connect with facebook functionality via fbconnect module. I have installed and set up the plugin. When I click on the facebook button the new popup window is opened and it requires my facebook credentials. After I enter those, instead of just simply logging in to my site, drupal asks of me to create a new account for drupal.
Is there any way to just connect with my facebook account without creating a new one on the drupal site.
Regardz,
Mladjo
RPX works the same way.
I believe you would have to modify the code to grab the returned data from Facebook and simulate a user creation with user_save, then automatically log them in, bypassing the Drupal login. Drupal needs a way of tracking that user on the site which is why that occurs.
I don't think the modules are quite there yet, though. Thanks for pointing that out, because I will have to come up with something like this.