-
- 225 Posts
This may be in the wrong section, so forgive me if so.
I have the most current version of Revo and all has been good to go. I uninstalled the Captcha snippet from the package manager, as we no longer needed it.
I logged out and now I can’t get back in. I have "login_mathstring_message" in place of the old captcha, and I can’t get rid of it. I even looked in DB tables. I didn’t find anything that looked like it would help.
-
- 51 Posts
Bump. same issue, but the fix doesn't work for me. Ideas?
-
- 24,544 Posts
Edit the core\cache\system_settings\config.cache.php file.
Change the captcha.enabled setting line to:
That should get you in.
Once in, immediately go to System -> System settings.
Type 'captcha' in the search box at the upper right and press enter.
Change the captcha.enabled setting to 'No'.
Click somewhere else in the grid.
-
- 131 Posts
Hi BobRay..and anyone else that might find this useful,
Situation
I installed Captcha through Package Management yesterday because I was trying to add it to Formit. But then I uninstalled it when I realized that you could use reCaptcha (which is a different thing) with Formit.
Problem
But then this morning when I tried to login to the manager, I was met with a Captcha code that was missing the image so I couldn't login even if I tried. Also, above the manager login was '$_SESSION Variable not set' in red.
I thought that I must have left Captcha installed so I tried out the solutions from this post (as well as some others) but couldn't find anything that worked. So what I had to do:
Solution
I went into my MySQL and searched for the term "captcha" which led me to change a few values in my tables. Change:
Go to 'website_site_plugins' then find the row related to 'Captcha' and change 'disabled' to '1' and then go to 'website_transport_packages' and find the row that says 'captcha-3.3.0-pl' and change 'disabled' to '1'
What's weird though, when I logged in to check if I had Captcha installed or not, I was confused to see that it wasn't even installed. So I removed it, which seemed to fix the issue altogether, thankfully.
-
- 24,544 Posts
Thanks for the feedback.
I think what happened to you was that the Captcha plugin was still in the cache, so MODX tried to use it when you logged in. Deleting the files in the core/cache directory might have solved it. I've made some changes so this shouldn't happen in the future and released Captcha 3.3.1-pl.
http://modx.com/extras/package/captcha
BTW, an easier solution when Captcha prevents you from logging in (for whatever reason) is to edit the core/cache/system_settings/config.cache.php file.
Change this line:
'captcha.enabled' => '1',
to
Important! As soon as you log in, go to System -> System Settings and change that setting again so the change will be permanent.
-
- 24,544 Posts
The Captcha plugin was still in the cache. Deleting all the files in the core/cache directory would have solved it.
If you can't find the Setting in the table, you can set it in the modx_system_settings table and delete the cache files to get in.