We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33337
    • 3,975 Posts
    How about a little standalone script which detects and displays the server paths for resourcepaths ? Right now when we install MODx, it auto-populates the values according to the base server it is running on, but when we transfer the db dump to it doesnt update the values according to new servers.

    Just a thought to develop a script which could ease the setup without going digging into server variables and phpinfo().

    regards.
      Zaigham R - MODX Professional | Skype | Email | Twitter

      Digging the interwebs for #MODX gems and bringing it to you. modx.link
      • 22303 MODX Staff
      • 10,725 Posts
      This has been discussed and is needed, but I do think it needs to be discussed in more depth before implementing a solution. In particular, this step needs to be an "optional" part of the upgrade script (or post install step first time the manager is accessed following an upgrade) IMHO, offering to adjust the paths automatically.
        • 33337
        • 3,975 Posts
        automatic feature is even better smiley, but one question popped up in my mind is, is it necessary to run "upgrade" script after migrating the files to new servers?
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: zi at Apr 26, 2007, 03:44 AM

          automatic feature is even better smiley, but one question popped up in my mind is, is it necessary to run "upgrade" script after migrating the files to new servers?
          Not necessary, but it is recommended. This will quickly help you get your cache up to date and ensure you are actually running the proper version for the database.
            • 33337
            • 3,975 Posts
            ah.. thanks Jason, I’ll keep it in mind.

            regards.
              Zaigham R - MODX Professional | Skype | Email | Twitter

              Digging the interwebs for #MODX gems and bringing it to you. modx.link