We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4628
    • 58 Posts
    Hallo!

    I’m testing MODx Evolution (modx 1.0.0 rc1) and have a logout problem with it. Yesterday I had to re-login about 30 times because the modx manager logs me out automatically every three to five minutes. Is this a MODx Evolution bug or can I do something against it? It happens while saving the changes in a document, chunk, tv, etc. The changes get lost with the automatic logout. I have this annoying problem since four days. The weeks before everything was fine.

    Thanks for your help!

    carlina
      • 33337
      • 3,975 Posts
      Please provide us more information about your server/environment.

      http://modxcms.com/forums/index.php/topic,489.msg2701.html#msg2701
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 4628
        • 58 Posts
        Here’re some technical datas:

        Server and database:

        System: Linux srv11.sysproserver.de 2.6.18-6-686-bigmem #1 SMP Sun Feb 10 22:21:07 UTC 2008 i686
        PHP Version: 5.2.8
        Server API: CGI/FastCGI
        MySQL Client API version: 5.0.32

        MODx:

        MODx version: 1.0.0-RC1
        Versions codename: rev 5122

        modx_manager_log (database table): 278.64 KB
        Additionally installed plugins: HideEditor, PHx
        Snippet: default installation
        No changes in the core

        Local System:

        Mac OS X
        Firefox 3

        Don’t know if it’s interesting: the problem firstly arises when I created a RSS feed ...
        • I suspect it’s a session issue with being on a shared server and the php garbage collection. See the section on sessions to see if this fixes it in our newer wiki via an addition to your htaccess file.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • Yes, but shouldn’t the handy little javascript image requester keep him logged in? If this is happening during save operations, could it be that his hosting provider has done something with mod_security?
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 4628
              • 58 Posts
              Mmmh, but if the provider really changed any settings in mod_rewrite, shouldn’t I have the problem every time when I save changes? This isn’t the case - at least not every time. Normally, my provider informs the customers when something has been changed in the server settings. huh
              • Is it possible that you’re getting switched between domain.com and www.domain.com? That will cause problems as the session cookie is expecting whichever one you logged in with.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 4628
                  • 58 Posts
                  It’s really odd: today I didn’t have any problems with the automatic logout - without undertaking anything against it. Obviously MODx healed itself laugh ... hopefully not only for today.

                  Nevertheless thanks for your quick anwers! Great forum!

                  @scottwell: Your articels in "MODx from the inside" on your website (www.sottwell.com) are really very, very good. As a MODx newbie I learned a lot from them. Great work!
                  • What is HideEditor and is it possible this is a manager add-on that is using improper values for URLs? This could cause the jumping between www. and non-www. URLs that would cause you to lose your session, as sottwell suggested.
                      • 4628
                      • 58 Posts
                      The HideEditor-plugin hides the content editor when a template doesn’t contain the content-variable (http://modxcms.com/extras/package/?package=200). I need this plugin for one of my templates. The logout-problem appeared two weeks after installing that plugin ...

                      I can’t imagine that this has anything to do with the URLs. There has never been a jumping between the URLs.