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

    I have a site with an installed instance of Version 2.0.8. I have moved it to a new server, the site itself renders perfectly, however when I log in to the manager none of the javascript renders and all content below the top nav bar appears unstyled. Clicking on any of the drop down links with a javascript call renders nothing and clicking on any of the drop down links that calls a page via the query string renders a blank page below the nav bar.

    I have tried manipulating the assets path in my config file but still nothing.

    My site is running Apache 2.2.14, MySQL 5.1.44, PHP 5.3.1.

    Any ideas?
      • 3749
      • 24,544 Posts
      Did you run setup after moving the site? If not, try that and delete all files in the core/cache directory and clear your browser cache *and cookies*.

      If that doesn't do it, try turning off the compress_js (and maybe compress_css) Settings. If you can't use the Manager, you can do it in the modx_system_settings table in the DB with PhpMyAdmin.
        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
        • 42682
        • 20 Posts
        I tried deleting the /core/cache directory and clearing my browser cache and cookies. I also tried turning off commpress_js and compress_css in the DB. Neither of those worked.

        When I view the console log in Fire Bug I notice a few common occurrences.

        First I see this logged as a syntax error:

        <br />
        <b>Warning</b>:  include_once(/my/old/file/path/core/model/modx/modx.class.php): failed to open stream: No such file or directory in <b>C:\xampp\htdocs\mysite\connectors\index.php</b> on line <b>28</b><br />
        <br />
        <b>Warning</b>:  include_once(): Failed opening '/my/old/file/path/core/model/modx/modx.class.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in <b>C:\xampp\htdocs\mysite\connectors\index.php</b> on line <b>28</b><br />


        I get this despite having updated my /config.inc.php, /manager/config.inc.php, and /core/config/config.inc.php files as well as the modx_workspaces table with my new core path.

        I also consistently notice type and reference errors showing certain javascript entities as undefined whenever I click one of the manager top nav links.
          • 3749
          • 24,544 Posts
          Check the config.core.php files in the root, manager and connectors directories.

          Also, check the path in the modx_workspaces table in the DB with PhpMyAdmin.
            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
            • 42682
            • 20 Posts
            Thanks, that worked after I set the connectors folder to 755.
              • 42682
              • 20 Posts
              Thanks, that worked after I set the connectors folder to 755.
                • 42682
                • 20 Posts
                Thanks, that worked after I set the connectors folder to 755.