We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17885
    • 10 Posts
    Dear All,

    Please help me. I just moved my Modx Revo from local server to my online website under photos folder.
    I've changed the config.php. When I went to manager and login, I got this error message :

    "Fatal error: Call to a member function getAllErrors() on a non-object in /home/********/public_html/photos/manager/controllers/default/security/login.php on line 58"

    Can anyone help me please. Thank you

    Made Suastika

    • I've not seen that particular error before, however some basic steps to start with might help. After each step you can try to load the manager again.

      1) Clear all the site cache folder contents ({web_root}/core/cache/)
      2) Transfer the site files again, if possible tar/zip them locally to transfer up and then unpack on the server for more reliable transfer, you'd be surprised how often the FTP process with that large number of files will corrupt or otherwise fail in some way
      3) Unpack the same version's /setup/ folder from the repo download and rerun the setup process, this also helps ensure that all paths are updated correctly

      Good luck and let me know how it goes
        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 3749
        • 24,544 Posts
        If you didn't run setup on the new site, try that first.

        http://Yoursite.com/setup
          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
          • 17885
          • 10 Posts
          OK...

          But if I run setup again, does it mean that I have to add the pages, chunks, snippets, etc again?

          Thanks,
          Made Suastika
            • 17885
            • 10 Posts
            OK...

            But if I run setup again, does it mean that I have to add the pages, chunks, snippets, etc again?

            Thanks,
            Made Suastika
            • no, it will not overwrite those when you ensure you select the "Upgrade Existing Install" option.
                Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                Visit CharlesMx.com for latest news and status updates.
                • 17885
                • 10 Posts
                Hi Charless....

                Thank you very much for your great help. It works now.

                Best Regards,
                Made
                • Great, glad it all worked out
                    Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                    Visit CharlesMx.com for latest news and status updates.