We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46421
    • 16 Posts
    Dear all,
    I got back to an old project (set up 6 months ago) and had to see, that I am not able to login in /manager anymore.

    After I used the correct login details, it always says just this:
    "Fatal error: Call to a member function render() on a non-object in /manager/controllers/default/welcome.class.php on line 64"

    The line which is mentioned says this:

    public function process(array $scriptProperties = array()) {
            $placeholders = array();
    
            $this->checkForWelcomeScreen();
    
            $this->dashboard = $this->modx->user->getDashboard();
            $placeholders['dashboard'] = $this->dashboard->render($this);
            return $placeholders;
        }


    Line 64 itself says:
    $placeholders['dashboard'] = $this->dashboard->render($this);


    I am completely php-noob and don't know what to do now. Everything worked for me perfectly about 2 months ago when I logged in there the last time. Also a reupload of the manager folder with a fresh downloaded version has solved nothing.

    But I really haven't changed something since the last login in the panel - Hopefully there is a solution for this. Have searched for it but found just posts from 2010,2008 and so on...

    ps: Version 2.2.9.pl traditional

    Thanks in advance.
    Heiko [ed. note: plemmi last edited this post 12 years, 3 months ago.]
      Please note: I am just a small designer with high interest in ModX - Don't blame me for being newb in IT-things - Thanks for all your help <3
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try clearing your browser cache and cookies for that domain. It's possible that you have an expired cookie hanging around, and MODX is getting confused trying to load the expired cookie instead of a new one.
        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
        • 46421
        • 16 Posts
        Quote from: sottwell at Jun 06, 2014, 06:14 AM
        Try clearing your browser cache and cookies for that domain. It's possible that you have an expired cookie hanging around, and MODX is getting confused trying to load the expired cookie instead of a new one.

        Thank you sottwell, it's always you who tries to help me out. Thanks for that but it has no effect. Clearing cache and cookies in FF & Chrome (to test another browser) hasn't made any changes to the problem :{

        EDIT!
        It has worked for the explicit content as like "http://xxx.com/manager/index.php?a=30&id=56" - just the dashboard outputs the error now...everything else (as far as I could see it) workes so far smiley <3
          Please note: I am just a small designer with high interest in ModX - Don't blame me for being newb in IT-things - Thanks for all your help <3
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Well, I'd strongly suggest a full upgrade to the latest version.

          A really easy way to upgrade is to upload the install.php script from here to your website root, then run install.php from your browser. (don't worry, it offers you a choice of version to install or upgrade).
            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
            • 46421
            • 16 Posts
            Quote from: sottwell at Jun 06, 2014, 06:32 AM
            Well, I'd strongly suggest a full upgrade to the latest version.

            A really easy way to upgrade is to upload the install.php script from here to your website root, then run install.php from your browser. (don't worry, it offers you a choice of version to install or upgrade).

            okay I will try that out later - Is there a high risk of loosing former working functions when upgrading from .9 to .14?
              Please note: I am just a small designer with high interest in ModX - Don't blame me for being newb in IT-things - Thanks for all your help <3
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Not unless somebody has been hacking the core.
                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
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                And of course you will make a backup first, right?
                  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
                  • 46421
                  • 16 Posts
                  Quote from: sottwell at Jun 06, 2014, 06:52 AM
                  And of course you will make a backup first, right?

                  ...okay laugh Will do so =) Thank you very much, I hope that will fix the issue - will update asap =) Thanks sottwell wink
                    Please note: I am just a small designer with high interest in ModX - Don't blame me for being newb in IT-things - Thanks for all your help <3
                    • 46421
                    • 16 Posts
                    Okay...I think I am not able to use the install.php - I uploaded it on FTP and executed it via browser...have chosen the right version but after clicking "install" nothing really happens than showing up a white page. I think I have to set some permissions (CHMOD) right? Hopefully I find a manual how to use it in a right way.
                      Please note: I am just a small designer with high interest in ModX - Don't blame me for being newb in IT-things - Thanks for all your help <3
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Hm. It uploads to the same location where you have the install.php script, so it needs to have write permissions to that directory. That depends on your hosting configuration.

                      If install.php doesn't work, then you'll need to upload the MODX files yourself. The best way would be to upload the zip file with your hosting control panel's file manager, unzip it there, and if necessary move the files into place.
                        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