We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36448
    • 58 Posts
    Hi, I'm running the great tool Sitecheck from Bob Ray outside of MODX 2.4.0. I have 3 MODX installations and all works fine, however one of this is saying:

    Looking for MODX root directory
    MODX Root Found!
    ______________________________________________________________________
    Checking MODX_CONFIG_KEY.inc.php
    Checking all paths in main config file
    ALL PATHS OK!
    Checking all URLs in main config file
    MODX_BASE_URL: (/) is invalid
    MODX_CONNECTORS_URL: (/connectors/) is invalid
    MODX_MANAGER_URL: (/manager/) is invalid
    MODX_ASSETS_URL: (/assets/) is invalid
    MODX_SITE_URL: (http://www.mywebpage.com/) is invalid
    ______________________________________________________________________
    Correct URLs before continuing
    Ending SiteCheck


    I checked several times my config file and everything looks good like my other MODX installations.

    The only difference to my both other installations what I can see, is an old php 5.3 version instead of 5.5.

    Has anyone a solution or can confirm this error?
    [ed. note: krischel last edited this post 8 years, 7 months ago.]
    • I'm guessing it might be executing some requests to see if those urls are correct, but it's unable to? Maybe the site is behind HTTP authentication? Or the configured domain is not live yet and you're currently browsing it from a temporary url, or based on a hosts entry?

      Can't hurt to get PHP updated.. I don't know the minimum version SiteCheck requires, but 5.3 is pretty old wink
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 36448
        • 58 Posts
        Hi Mark, thanks for your opinion.

        My urls and the domains are reachable and live

        My provider has activate "directory index forbidden" for all 3 domains what I have.
        It couldn't be possible that this is the problem, due the fact my other 2 MODX installation hasn't this error? However next week I will try this with a new PHP 5.5 or 5.6

        Really odd...

          • 36448
          • 58 Posts
          btw: I tried this test_config.php file and got the message:
          Success! Your MODX installation appears to be set up correctly.
            • 3749
            • 24,544 Posts
            One other person reported the same thing, but I haven't been able to reproduce it. If the paths are OK, It's almost certain that the URLs are too, so I think you can ignore it, especially if the site works.

            Is the rewrite base the same on that install as the others?
              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
              • 36448
              • 58 Posts
              Quote from: BobRay at Sep 21, 2015, 07:12 AM
              ...so I think you can ignore it, especially if the site works. Is the rewrite base the same on that install as the others?
              The rewrite base is the same on that install the others and yes, indeed the site works fine smiley

                • 36448
                • 58 Posts
                OK, my provider changed the server from php 5.3 to 5.5 and it's running without problems.
                Unfortunately I can not say that this was the problem, because he has set up the whole system new.
                  • 3749
                  • 24,544 Posts
                  Some parts of the current release of SiteCheck require PHP 5.5. This will be fixed in the next release. I'm not sure if that was your problem, though. Usually, it will just crash on versions < 5.5.
                    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
                  • Gernot Ebenlechner Reply #9, 8 years, 6 months ago
                    Similar problem here, site is running just fine (MODX Revo 2.4.2, PHP 5.6.2) but:

                    Checking MODX_CONFIG_KEY.inc.php
                    Checking all paths in main config file
                    ALL PATHS OK!
                    Checking all URLs in main config file
                    MODX_BASE_URL: (/) is invalid
                    MODX_CONNECTORS_URL: (/connectors/) is invalid
                    MODX_MANAGER_URL: (/manager/) is invalid
                    MODX_ASSETS_URL: (/assets/) is invalid
                    MODX_SITE_URL: (***removed-by-me***) is invalid

                    I've double-checked core/config/config.inc.php twice. Other similar sites on the same server pass all the SiteCheck tests just fine ... Any clues?
                      • 3749
                      • 24,544 Posts
                      These are false positives. If the site and Manager work, you can ignore them. Several people have reported this, but so far I haven't been able to reproduce it.
                        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