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

    Now it´s getting really weird! I installed Evo 1.0.1 completely new on a local environment (XAMPP / WIN 1.7.1), got a regular login page and got this after logging in to the manager:

    A possible CSRF attempt was detected from referer: http://localhost/marcus-buchwald%20(MODx)/modx-1.0.1/manager/.


    I took the very same copy as the one I used for the update of my live site. Now, could that be the key to my trouble with my update? I followed this routine http://modxcms.com/forums/index.php/topic,36771.msg222031.html#msg222031 and got a pristine manager in my test installation. Although, when I set the validate_referrer to 0 in the siteCache.idx.php of my site, it had no effect. :-/
      • 18266
      • 23 Posts
      Wait, wait, wait... shocked

      Line 129 of the accesscontrol.inc.php in 1.0.1:

      $tplFile = $base_path.'assets/templates/manager/login.html';


      The corresponding line in 0.9.6.3 (line 128):

      $tplFile = $base_path.'manager/media/style/'.$manager_theme.'/login.html';


      I corrected the path, and here we go!

      Edit: Same goes for line 176 in manager/actions/welcome.static.php
        • 27708 MODX Staff
        • 2,502 Posts
        Can you look and see if the file is in your assets directory and permissions are correct. All the manager theme files have been relocated there. This was no accident. The intention is to allow devs and designers to customize the manager themes for clients.
          Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
          • 18266
          • 23 Posts
          The road to hell is paved with good intentions... ;-) Yes, the files are there and it is all running fine! The Edit / Move /Duplicate / Delete buttons stay in their place when scrolling - is that correct?
            • 26931
            • 2,314 Posts
            I corrected the path, and here we go!
            so you just changed the path of the Evo1.0.1 installation to the path that is used in in 0.9.6.3?

            you still got login.html in manager/media/style/managertheme? i think all those files should now be in assets/templates/manager

            anyway...great it’s working now! smiley
              • 27708 MODX Staff
              • 2,502 Posts
              The old files won’t be overwritten but the new files should be there in the /assets/tempates/manager/ if they are not it was a bad upload.Looking forward to hearing your reply.

              Cheers,

              Jay
                Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
                • 18266
                • 23 Posts
                @sharkbait: The login.html is in /assets/templates/manager

                @Jay: It´s all fine now.

                @all: Thanks for your support! *deep breath*
                  • 27708 MODX Staff
                  • 2,502 Posts
                  Was it permissions? Curious. I’d love for you to post the result so others can do the same as modding core files will break on next upgrade.
                    Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
                    • 18266
                    • 23 Posts
                    I didnt´care for permissions except for the config.inc.php. There, I changed it to 777 before the update and it changed back to 600 by itself afterwards.

                    I uploaded the install directory, the MODx Carbon style and the assets/manager directory - and later the adapted files mentioned above. I never got an errorlog.
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      I don’t think the upgrade touches the config.inc.php file (other than to read it, of course); at least I’ve upgraded numerous sites where it was set to read-only and never had a problem.
                        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