We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Quote from: BobRay at Oct 24, 2015, 03:40 PM
    Definitely strange.

    Anyway to remove the error message?
      • 3749
      • 24,544 Posts
      I'm afraid I don't know.
        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
        • 8168
        • 1,118 Posts
        Quote from: BobRay at Oct 25, 2015, 04:03 PM
        I'm afraid I don't know.

        This trick worked:

        Changing the .htaccess file in the moved 'core' folder root to become:

        IndexIgnore */*
        <Files *>
        Order Deny,Allow
        Deny from all
        </Files>
        


        Not really sure what this actually does - but it bins the error in the Manager dashboard!
          • 3749
          • 24,544 Posts
          I have a theory about what's happening with the config check on your site. If you wouldn't mind testing it, create a snippet with this code, put a tag for it on a page and view the page. See what you get:

          $real_base = realpath( MODX_BASE_PATH );
          $real_core = realpath( MODX_CORE_PATH );
          $output = '<br />Base Path: ' . $real_base;
          $output .= '<br />Core Path: ' . $real_core;
          return output;

            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
            • 8168
            • 1,118 Posts
            Quote from: BobRay at Oct 26, 2015, 12:25 PM
            I have a theory about what's happening with the config check on your site. If you wouldn't mind testing it, create a snippet with this code, put a tag for it on a page and view the page. See what you get:

            $real_base = realpath( MODX_BASE_PATH );
            $real_core = realpath( MODX_CORE_PATH );
            $output = '
            Base Path: ' . $real_base;
            $output .= '
            Core Path: ' . $real_core;
            return output;


            Thanks Bob - just tried this and just get the word "Output" rendered on the test page???
              • 42562
              • 1,145 Posts
              donshakespeare Reply #26, 11 years ago
              ??
              return $output;
              instead of
              return output;
                TinymceWrapper: Complete back/frontend content solution.
                Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
                5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
                • 8168
                • 1,118 Posts
                Quote from: donshakespeare at Oct 28, 2015, 06:44 AM
                ??
                return $output;
                instead of
                return output;

                Thanks for spotting the error wink

                Bob - the results this renders look correct to me. e.g. the paths are correct.
                  • 3749
                  • 24,544 Posts
                  Can you paste in the results?
                    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
                    • 8168
                    • 1,118 Posts
                    Quote from: BobRay at Oct 28, 2015, 05:36 PM
                    Can you paste in the results?

                    I'd rather not reveal the paths to the folders on the server no. But I can confirm they are correct.
                      • 3749
                      • 24,544 Posts
                      Good thinking.

                      Can you confirm that they are not the same, and that the slashes in both of them are all leaning the same way?
                        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