We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38555
    • 8 Posts
    [03-Feb-2012 20:26:25] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/my-domain/public_html/manager/controllers/default/security/login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/my-domain/public_html/web/core/model/modx/modmanagerrequest.class.php on line 104

    I can't log into the manager and this is the error I get. Can anyone help me?
    Thanks.
      • 33968
      • 863 Posts
      What did you do before this error happened?

      Does the login.php file exist at '/home/my-domain/public_html/manager/controllers/default/security/login.php'?
        • 38555
        • 8 Posts
        NO!!! It is at '/home/my-domain/public_html/web/manager/controllers/default/security/login.php'?

        Should I shift it or is there somewhere I can tell modx that this is where it is?
          • 38555
          • 8 Posts
          I installed a sub-folder called web to run the modx site from...
            • 38555
            • 8 Posts
            Now I have moved the core directory to under the public_html folder and I am getting a variant of the same message...

            Fatal error: require() [function.require]: Failed opening required '/home/my-domain/public_html/manager/controllers/default/security/login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/my-domain/public_html/core/model/modx/modmanagerrequest.class.php on line 104
              • 33968
              • 863 Posts
              You'll need to update the paths in your config files to include the subfolder, see the section on Updating your Config Files in this guide to see which files you need to change:

              http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

              Running setup again might be also a good idea after you've done that.
                • 38555
                • 8 Posts
                OK, I have just noticed the "home2" vs "home" in the two messages. That gives me something to think about...
                  • 38555
                  • 8 Posts
                  OK, I have just noticed the "home2" vs "home" in the two messages. That gives me something to think about...