We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37686
    • 94 Posts
    What do i have to change in the files when i transport the site from 1 domain to another domain?
    Settings and stuff?

    thanx
      • 27708 MODX Staff
      • 2,502 Posts
      What do you mean transport from one domain to another domain? Are you moving the site from one host to another or are you moving the site to a new domain URL, i.e., www.websiteone.com to www.websitetwo.com? The instructions for moving a site are located here: http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server

      You also use the word "transport" are you referring to transport packages created using Vapor or Teleport? If so, it's a little different than the instructions in the RTFM.

      Feel free to clarify anything so we can better answer your question.
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
        • 37686
        • 94 Posts
        Quote from: smashingred at Nov 12, 2013, 09:41 AM
        What do you mean transport from one domain to another domain? Are you moving the site from one host to another or are you moving the site to a new domain URL, i.e., www.websiteone.com to www.websitetwo.com? The instructions for moving a site are located here: http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server

        You also use the word "transport" are you referring to transport packages created using Vapor or Teleport? If so, it's a little different than the instructions in the RTFM.

        Feel free to clarify anything so we can better answer your question.

        well.. i mean move from ftp to ftp so host to host yes..


        and transport like.. copying the source from the ftp client and paste it on to another ftp location
          • 37686
          • 94 Posts
          What i have done sofar:

          -flush sessions and clear cash on oldsite
          -move sitefolders to other host
          -change the config.inc.php files so *oldsite.com* changed to *newsite.com*
          -add some date time zone in the .htaccess
          -changed database
          -removed cash folders
          -chmod folder 775 and files 664

          but still i dont get what i want.

          sometimes i receive a 500 error :Site temporarily unavailable.

          when i turn: 'php_flag zlib.output_compression On' i receive
          'Internal Server Error

          The server encountered an internal error or misconfiguration and was unable to complete your request.'

          when i add the original setup folder.. i receive:
          'Internal Server Error

          The server encountered an internal error or misconfiguration and was unable to complete your request.'



          nothing helps sofar.. does somebody got an idea?
            • 3749
            • 24,544 Posts
            It's very common to have corrupted or missing files when you use FTP to transfer the files individually. It's much more reliable to .zip up the files locally and unzip them on the server in cPanel.

            More info here: http://bobsguides.com/modx-upgrade-faq.html. It's about upgrading, but the section on transferring files applies.
              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
              • 37686
              • 94 Posts
              Quote from: BobRay at Nov 13, 2013, 12:05 AM
              It's very common to have corrupted or missing files when you use FTP to transfer the files individually. It's much more reliable to .zip up the files locally and unzip them on the server in cPanel.

              More info here: http://bobsguides.com/modx-upgrade-faq.html. It's about upgrading, but the section on transferring files applies.


              thanx for the reply

              I use Windows.. i dont know how to use Cpanel :S
              that is software what your hoster can use?
              I dont think they have Cpanel.. they use some kind of webFTP
                • 34109
                • 119 Posts
                Another option is to set up a clean install on the new server and make sure everything's running OK. Then run vapor on the old site - this will give you a package which you can transfer over to the new site and will install all your content and extras. I find it's a more reliable method than FTP. There's a guide on how to do it here:
                https://modxcloud.com/userguide/how-tos/import-sites-with-vapor.html
                  Studio Republic
                  http://www.studiorepublic.com
                  0845 226 3205
                  @christodhunter
                  • 34109
                  • 119 Posts
                  Sorry, that guide's for MODX Cloud. The first part about creating the Vapor package is correct. Once you have the zipped up file, you would then FTP this to the core/packages folder on the new hosting. Then go to package management, click on the arrow on the download packages button and click on search locally for packages. Your Vapor package should show up - install it and you're away!
                    Studio Republic
                    http://www.studiorepublic.com
                    0845 226 3205
                    @christodhunter
                    • 3749
                    • 24,544 Posts
                    You may need to set folders to 755 and files to 644. It depends on the host, but that seems to be the most common these days.
                      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
                      • 37686
                      • 94 Posts
                      Quote from: [email protected] at Nov 13, 2013, 04:57 AM
                      Sorry, that guide's for MODX Cloud. The first part about creating the Vapor package is correct. Once you have the zipped up file, you would then FTP this to the core/packages folder on the new hosting. Then go to package management, click on the arrow on the download packages button and click on search locally for packages. Your Vapor package should show up - install it and you're away!

                      When i try it this way.. and i go to site/vapor/vapor.php .. i receive the message "access denied"

                      it seems i do it manually