We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5721
    • 13 Posts
    Hi, urls and images are not working on my site. When I log into the manager I can see the header, but nothing underneath.
    I have 3 errors: "Uncaught ReferenceError: Ext is not defined"

    When I click an option in the header nothing happens, sometimes it logs another error:
    Uncaught ReferenceError: MODx is not defined

    I'm using:
    MODX Revolution 2.2.14-pl (traditional)
      • 3749
      • 24,544 Posts
      Some of the MODX versions in that era suffered from cache corruption, so manually deleting all files in the core/cache directory might fix it.

      FYI: That version is almost five years old. (That's about 93 in human years. wink )

      A number of serious security issues have been fixed since then, so it's also possible that your site has been hacked.

      The current version is 2.7.0 and 30 versions of MODX have been released since yours. If you upgrade, be sure *not* to skip versions 2.3.0, 2.4.0, 2.5.0, 2.6.0. They are major versions and some contain crucial changes to the database. You can skip the other versions. I would quit at 2.6.5 and wait for 2.7.1 before upgrading to the current version.


        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
        • 5721
        • 13 Posts
        Thanks Bob, would clearing the cache fix the manager?
        See attached above.
          • 5721
          • 13 Posts
          Deleting cache didn't work unfortunately.
            • 3749
            • 24,544 Posts
            I though of another thing to try. Make sure you have this in the head section of all templates (with the exclamation point).

            <base href="[[!++site_url]]" />


            I'd clear the cache files again after doing that.

            If that doesn't do it, it could be that your host has upgraded PHP and your version doesn't work well with it. Since your site isn't working, I'd say you've got nothing to lose by upgrading MODX and your extras. As you upgrade to newer versions of MODX, more available Extra updates will start showing up in Package Manager.

            Use this method to upgrade: https://bobsguides.com/modx-upgrade-faq.html

            Be sure you have at least PHP 5.4 running.

            Once you hit MODX 2.4, you should be able to upgrade to PHP 7 (assuming that you've fixed the bug), then uninstall and remove Upgrade MODX, re-install it, and use the UpgradeMODX Extra for the rest of your upgrades. For security, and to prevent future hassles, keep your MODX install up to date.

              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