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
    What version of MODx?
      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
      • 24731 ☆ A M B ☆
      • 211 Posts
      I quit on the error about 2 weeks ago and went by to Evo for the 4th or 5th time I think.

      Every single time I’ve tried Revo I’ve had this issue happened to me and I end up locked out. Not saying that Revo is not worth it but I’ve not been able to make the switch, mostly because of this weird bug (if I may call it a bug).

      I hope someone can figure it out soon.

      Jose R. Lopez
        • 12241
        • 80 Posts
        The Revolution core templating, placeholders, property sets, contexts, new side bar organization of resources & files are why I’m not going back to Evo smiley but since I suck at writing php, and debugging it is like voodoo magic to me, I am tempted to go back into Evolution until my skills ’evolve’ enough to handle this revolution:)

        well, I might be forced to abandon this project and rebuild it in Evolution... I will categorize this under ’ultra lame’
          Environment:
          modx: rev 2.0.8-pl
          localhost: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2, MySQL client version: 5.1.37
          • 12241
          • 80 Posts
          Everyday I wake up and am stuck at my modx login page... I’m going back to Evolution... or should I say I’m ’devolving’ from revolution smiley

          Found this topic in the modx documentation
          http://rtfm.modx.com//display/revolution20/Troubleshooting+Installation%3bjsessionid=6572FF65E11ED2469B326349729EBEEE#TroubleshootingInstallation-Theloginpagekeepsredirectingmebacktotheloginscreenwithnoerror

          Doesn’t fix my issue but may help someone else.

          If this isn’t a bug I wonder what is???

          update:
          After going back to Evolution I just realized how amazing Revolution is and I can’t justify going back haha so after resetting my password from the stuck login screen, I follow the link that MODx sends via email. This link is my ’Goto Guy’ whenever my login screen is acting frak’d up and constantly redirecting back to itself. I just click that activation link that was in my email and everything’s all good, log-in like normal. I just hope this behavior is a localhost issue and doesn’t persist once the site is live... if so, I trust the super modx developers to address it in the future.

          Besides using the ’reset password’ link to log back into the manager, I’m now logging out by clicking the ’Flush All Sessions’ link in the ’Security’ menu. So far it’s working.... although I’ve thought/said that before.

          Cheers to modx revolution and whatever strangeness we may endure for the sake of one badass application framework / cms!
            Environment:
            modx: rev 2.0.8-pl
            localhost: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2, MySQL client version: 5.1.37
            • 27705
            • 38 Posts
            I had this same problem and tried all the suggestions to no avail just as the OP said. I did end up fixing it though.

            To preface this though I would just say that it is entirely possible I have no idea what I’m talking about, but whatever I did got it working again.

            What I think happened was that I had commented out friendly URLs in the .htaccess file, but I didn’t change the setting for friendly urls in the database from 1 to 0, or whichever is off. I uncommented the friendly URLs in .htaccess to match the DB setting.

            Once I did that I went back through and cleared cache folder, browser cache, sessions all over again... worked after that.
              • 24731 ☆ A M B ☆
              • 211 Posts
              I really want to give revo an actual try, on a live enviorement, but this issue alone has prevented me from doing that.

              I realize how great the leap is from evo to revo and it is the reason I want to move all my sites to revo and develop new ones in it.

              If only someone was able to track down on exactly what causes this and figure out a reliable way to fix it then I would most certainly love to develop my websites in revo.

              I hope someone comes up with an answer, this is a great community and Im happy to be part of it.

              Cheers,
              Jose R. Lopez
                • 12241
                • 80 Posts
                I hope someone comes up with an answer, this is a great community and Im happy to be part of it.

                For what it’s worth, I have never had this problem on my live modx revo installs. Seems to be something in my localhost environment. Maybe it’s because I’m setting up multiple installs in sub directories? So I’m just developing the site on the live server rather than locally.

                Oh yeah, Revolution is way cool, it’s going to take over the world!

                  Environment:
                  modx: rev 2.0.8-pl
                  localhost: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2, MySQL client version: 5.1.37
                  • 34536
                  • 4 Posts
                  Well... I just had THIS SAME EXACT ISSUE...
                  Login with correct data, gone back to Login page, NO ERROR or anything.

                  I tried all solutions here, nothing worked (clear cache, browser cookies)

                  I had 2 installs (one the first test, the second where i started to do the site as it should)
                  Site 1, HAD THE PROBLEM.
                  Site 2, working normally...
                  Same Server, same php.ini, same .htaccess ... very similar installs, just a few pages on each one, not live, etc.

                  For me was easy to think ... to isolate things...
                  but I still dont know what exactly got fixed and HOW... maybe some experienced used will know.
                  I copied the /CORE/CONFIG/CONFIG.INC.PHP from the WORKING SITE to the NON WORKING SITE...
                  So I tried to login from the NON WORKING DOMAIN/MANAGER ... using the WORKING domain database/data....
                  and it worked! ... so no problem on files, directory permissions, etc.
                  Then... for MY SURPRISE... when I put the correct paths, and database data to the config file... IT WORKED!


                  I also changed on the mysql config... from database sessions, to "" so it use normal sessions.

                  I’m not sure what of this make it work...
                  but if anyone have an idea or can reproduce this error... It would be good to:
                  1) Document this (looks like a bug for me) as well as the solution.
                  2) Fix for next release smiley

                  So if there’s anyone there with this problem, or if you can reproduce it:
                  First try to change in table modx_system_settings, the value session_handler_class to ’’ (nothing), you can easy do this with phpmyadmin.
                  then try to login again.
                  If this dont works, you can always have another install, and copy the /CORE/CONFIG/CONFIG.INC.PHP.
                  this should work in some or another way...
                  if anyone knows how exactly does this works and why happends, please advice.

                  Regards.
                    _______________________________________________________________________
                    CAS company :: www.cascompany.com
                    Dedicated Servers | Cloud Servers | Cloud Hosting | Hosting | Resellers
                    • 34536
                    • 4 Posts
                    Btw... I put back the config.inc.php (the original one, that dont worked)
                    and now it works too... so, it was nothing changed in that file that makes it not work...
                    I changed it back, because I was using $site_id, $site_sessionname, $uuid from the other site ... I was not sure if this could have something to do.

                    I just dont know exactly how it get fixed... but all the delete cache,etc. things didn’t worked at all.
                    I have even created a admin user manually in phpmyadmin... but didn’t worked either, so was nothing directly related to this exact user.
                      _______________________________________________________________________
                      CAS company :: www.cascompany.com
                      Dedicated Servers | Cloud Servers | Cloud Hosting | Hosting | Resellers
                      • 20571
                      • 3 Posts
                      Manager was logging me out after about 30 seconds, and it was extremely frustrating. I tried the php.ini stuff, the cache on the site, and so on, but none of it worked.

                      When I opened up core/config/config.inc.php, I noticed "^M" after every line. I downloaded the file, and then uploaded it (in Unix format), and the "^M" was gone. Now I am still logged in after a few minutes.

                      Make sure you use Unix line feeds...