We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1847
    • 5 Posts
    Hi all,

    I am a newbie to MODx Revolution 2.0.8.
    I wanted to create my Custom Manager Page. I followed this tutorial http://rtfm.modx.com/display/revolution20/Developing+an+Extra+in+MODX+Revolution,+Part+II .
    I got stuck at point ’’Hooking Up via Connectors’’. I followed all these insctructions, but when I try to use connector.php, it gives me back empty output and then after hitting F5, I am suddenly logged out.

    I found out, that problem is in file ’connectors/index.php’ at line 46. Condition don’t pass thru and die(). I have no idea why is this happening. Can please somebody help me?

    Nothing familiar to this problem found at error.log.


      • 28215
      • 4,149 Posts
      Sounds like a session issue. I assume you’re developing using the external directories method mentioned in that tutorial. There’s a note in the tutorial:

      You may have to add a System Setting in your MODX install called session_cookie_path and give it a value of "/" (no quotations). This will tell MODX to use the same session when you’re running stuff at http://localhost/doodles/. Also, giving it a unique name via session_cookie_name (like "modxlocaldevsession") is a good idea too. That’ll prevent conflicts with other MODX installs on your local machine. If you do this, empty the core/cache/ directory and relogin after doing so.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 1847
        • 5 Posts
        This works for me. I should read notes better next time. Thanks a lot!