Definitely. In 2.4.0 there's a change in how the OnManagerLogin event is handled that breaks Captcha. I'll be releasing a new version as soon as I know for sure whether the change will be reverted or not.
BTW, after looking at my Captcha code and how the event is handled, I'm pretty sure that Captcha has been broken for quite a while. You could enter anything for the Captcha challenge and still log in.
I've been experiencing the exact same problem. First tried upgrading directly from 2.3.5 to 2.4.0. Next tried first upgrading to 2.3.6 (which went flawlessly), then to 2.4.0. Then after reading this thread, tried removing Captcha, then upgrading to 2.4.0. Nothing has made any difference. Still can't log in to Manager; still get the little red "1".
I noticed on another thread concerning this same problem occurring on a clean install that the MySQL version may possibly be involved. This site's version is 5.6.24-log.
For now, I have no choice but to leave this site at 2.3.6 unless someone smarter than me can come up with a better suggestion.
[ed. note: magoldberg last edited this post 11 years ago.]
discuss.answer
If you change the debug System Setting to -1 before upgrading, you might get a look at a PHP error that would help show what's happening.
Sometimes, plugins are difficult to get rid of. The Captcha plugin might have remained in the cache. You could try deleting all files in the core/cache directory after uninstalling the Captcha package, then visiting the Manager in private or incognito mode in your browser.
You could also have another plugin that's causing the problem. You can disable them all in the database in the modx_site_plugins table. Just change the disabled field from 0 to 1. Delete all the cache files after disabling the plugins.
If that works, you can re-enable the plugins one-by-one and find out which one is causing the trouble.
Finally, you could have a corrupted or missing file. That's common if you transfer the files individually with FTP.
Don't thank me until it works.
I'm glad I could help.
Thanks once again Bob. It has taken a lot of head-banging, a PHP upgrade, removal of all traces of Captcha, clearing of every cache imaginable and removal of cookies but I'm now on Revo 2.4. And UpdateModx works too!
Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.
-
☆ A M B ☆
- 106 Posts
Same problem; unable to log into the Manager after the update to 2.4. After disabling the plugin I was able to login again.
I then tried to remove the entire Captcha plugin and install a new version. Same problem! Again not able to login into the Manager!
It seems the Captcha plugin is not working at all with 2.4.
That has been fixed in the next version of MODX. I'm not sure when it will be out, but the fix is here:
https://github.com/modxcms/revolution/pull/12623/files