We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47401
    • 295 Posts
    Hi Guys

    I have moved a modx 2.4.1 from development.domain.com to domain.com the setup ran fine, but running manager in the new area on the website, manager is still looking at the old unc path /var/www/development.domain.com/public_html/manager

    Is there any files that are hard coded with the old path? how can I get manager to see the new paths?
      • 41255
      • 19 Posts
      Take a look at: /core/config/config.inc.php

      You will find a line like below, change the path to the actual location.

      if (!defined('MODX_MANAGER_PATH')) {
          $modx_manager_path= '/var/www/development.domain.com/public_html/manager/';
      
        • 47401
        • 295 Posts
        hi

        the line in the core/config/config.inc.php shows the following:

        if (!defined('MODX_MANAGER_PATH')) {
            $modx_manager_path= '/var/www/domain.com/public_html/manager/';
            $modx_manager_url= '/manager/';
            define('MODX_MANAGER_PATH', $modx_manager_path);
            define('MODX_MANAGER_URL', $modx_manager_url);
        }
        


        is there anywhere else I should be looking?
          • 47401
          • 295 Posts
          if i rename the dev folder to something else, then the manager on the live site white screens with error unable to connect to the dev area.
            • 41255
            • 19 Posts
            It might be a problem with cache.

            Maybe you can delete files in the cache folder manually: /core/cache/
            Then try again.