Hey,
I am running a Drupal 5.7 site. I have installed Captcha/Recaptcha. It is part of my admin/site log-in. My hosting provider blanked out my entire site by accident, then restored it. However, when they restored it, my ReCaptcha system no longer works, and I cannot get in to the admin section of my site. This is bad. The message I get is:
"Cookies should be enabled in your browser for CAPTCHA validation."
Cookies are enabled already. I tried 2 4 different browsers, on 4 different computers, all the same problem.
Are there any gurus out there that can help? I have tried simply FTP'ing into the site and deleting the captcha and recaptcha module directories altogether, but got other errors. So, I re-enabled them for now.
Thank you!!!
Comments
To disable the module
To disable the module manually, use phpmyadmin or other db tool, examine the system table, and set the status of the appropriate module(s) to 0.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Thank you - I'll give that a
Thank you - I'll give that a try! Can I edit directly, or do I need to issue some kind of SQL command? I'm not SQL-cool...
if you use phpmyadmin, it's
if you use phpmyadmin, it's a gui interface to your db available with most lamp/wamp distributions and hosted accounts, you just navigate to the proper place and change the value.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I found the table, changed
I found the table, changed the status bit from 1 to 0, but when I went to save, it said that the system table was read only...? How do I change this to read/write? I logged in via FTP (I cannot ssh into my hosting account) and tried to change the mysql directory from User Read/Write to User/Group/World Read/Write, but it prevented me from making the change... Not sure if the file protection has anything to do with my not being able to change the status bit for the module or not...
Thank you for taking the time to help!
are you sure you're logged
are you sure you're logged in properly (with an account that has full admin rights)? I've never had a problem making that change-- either on local or shared hosting dbs. You might have to check with your host....
and you're welcome... 8-)
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I can change some
I can change some files/folders, but not all. I think it said that I had to be root. However, this is for the drupal database as a whole. It doesn't make sense to me that it wouldn't be writable by default though, given that this is what drupal does.
I asked hosting company 5 days ago, but no answer yet - only email capability with them. I bought my own server that I'll probably go live with in 6-8 weeks. A bit of learning to do before then.
To disable captcha module
I cant find a table with name system.I saw a table named as captcha session .
Delete captcha folder
Delete the folder "Captcha" in sites/all/modules/ and you will be able to log in.
Login in local by disabling in recapcha
Select * from captcha_sessions;
Note the csid;
update captcha_sessions set status =1 where csid='csid';