We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    It looks like some stuff changed with how you move sites with Revo 2.07, yes? Now there are 3 config.core.php files mixed in amongst the others:


    • /config.core.php
    • /connectors/config.core.php
    • /manager/config.core.php

    Each file sets the following constants:
    define('MODX_CORE_PATH', '/path/to/html/core/');
    define('MODX_CONFIG_KEY', 'config');


    What’s going on here? Out of curiosity, what was the reason for doing things this way?

    I’m gonna have to update the instructions here:
    http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

    I couldn’t pull off the move without re-running the setup...
      • 3749
      • 24,544 Posts
      Those have been there for quite a while. It’s so you can move and/or rename any of the key directories and still have MODx work. In theory, those are all made correct during the upgrade setup at the new location.

      One caveat: Packages installed before the move may not uninstall smoothly after the move since the path to the files has changed. Again, in theory, an upgrade setup at the new location should fix this.
        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
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: Everett at Jan 18, 2011, 10:20 PM

        It looks like some stuff changed with how you move sites with Revo 2.07, yes? Now there are 3 config.core.php files mixed in amongst the others:


        • /config.core.php
        • /connectors/config.core.php
        • /manager/config.core.php

        Each file sets the following constants:
        define('MODX_CORE_PATH', '/path/to/html/core/');
        define('MODX_CONFIG_KEY', 'config');


        What’s going on here? Out of curiosity, what was the reason for doing things this way?
        Those have always been there. huh

        Quote from: Everett at Jan 18, 2011, 10:20 PM

        I’m gonna have to update the instructions here:
        http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

        I couldn’t pull off the move without re-running the setup...
        Those are manual instructions for moving things. We need to make those alternate instructions IMO, and recommend that folks always run setup in upgrade mode when moving a Revo site.
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          +1 Senility then. I didn’t notice those files until 2.0.7... and somehow I was able to successfully migrate sites without relying on running setup... and I authored that man page about how to do it, so I must have really been out to lunch.