We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    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. wink


      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 17971
      • 17 Posts
      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
        • 3749
        • 24,544 Posts
        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.

          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 17971
          • 17 Posts
          Quote from: BobRay at Sep 03, 2015, 11:10 PM
          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.


          Chances are that this will be the solution, since there are quite a few plugins on this site. I'll try that and report back on the results. Thanks for pointing me in the right direction.
            • 3749
            • 24,544 Posts
            Don't thank me until it works. wink
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 17971
              • 17 Posts
              Quote from: BobRay at Sep 04, 2015, 08:52 AM
              Don't thank me until it works. wink

              It worked. Thank you very much. Actually, it was this suggestion that finally did the trick:

              Quote from: BobRay at Sep 03, 2015, 11:10 PM
              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.

              I manually deleted every trace of Captcha from the site, deleted all the core/cache files, tried the upgrade once again -- and this time it WORKED!

              However, there was still one other problem: the "Core folder is accessible by web" described in this thread https://forums.modx.com/thread/98138/core-folder-is-accessible-by-web. With the help of my hosting company (Lexiconn.com), who edited the .htaccess file as recommended in that thread, we solved that problem, too. Now, all is well. Big thanks to you and to paulp for coming up with the solution for the "Core folder" error message.
                • 3749
                • 24,544 Posts
                I'm glad I could help. smiley
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 38666
                  • 98 Posts
                  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.
                    • 39658 ☆ 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.
                      • 3749
                      • 24,544 Posts
                      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
                        Did I help you? Buy me a beer
                        Get my Book: MODX:The Official Guide
                        MODX info for everyone: http://bobsguides.com/modx.html
                        My MODX Extras
                        Bob's Guides is now hosted at A2 MODX Hosting