We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19132
    • 199 Posts
    Hi, I know how to move EVO files from a subdomain to main domain, but how is this done for Revo?

    I tried it just now and it all defaults back to the subdomain paths. I changed all the path file instances.

    The site loads with the subdomain look and feel (which is fine) but all other URLs default to the subdomain.

    The manager is inactive/inaccessible blank page.

    How do I get it all working?

    SOLVED: chatted with zi after giving him keys to the kingdom. It’s a permissions issue. With 20+ domains on my server to administrate I login as root so I don’t have to remember/keychain/set up 20+ logins for my SFTP app.

    If I understood zi correctly, my root permissions were not allowing the Manager to "see" all of the subdirectories in the core/cache/ directory.
    To quote zi from our chat:

    but i think next time you move the sites, just like this one, u need to create a new empty cache folder
    in addition to chmoding 777 the config file in the core/config
    and run setup

    cache folder has lots of subfolders and files, all have their own permissions. modx wasnt able to access/modify them. that was the cause preventing it to work.

    I’m not sure if Plesk had anything to do with this issue, nor if creating a server admin user with access to just the domains will solve it. Not sure I want to create 20+ logins either, so

    BIG THANK YOU TO zi!!!!!
      MySQL: 5.0.45
      PHP: 5.2.6
      Linux 2.6.9-023stab048.6-enterprise #1
      cURL enabled
      PDO enabled
      FFox Apple 3.6.8
      Firebug DIS-abled
      • 34193
      • 330 Posts
      I haven’t done this but working on a site at the moment that will need this my plan is to copy all the files from the sub to the main and then run setup->Advanced upgrade to set all file paths etc. Might then need to fiddle with some system settings. But I think that should work assuming the main domain can access the DB.

      As I say thats only how I plan to do it, don’t know if it works but it should.
        • 34001
        • 428 Posts
        Hello,

        This link should help you: http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
        You probably forgot to update the core paths in your database.
          Intégrateur web freelance
          • 19132
          • 199 Posts
          The link was useful but might need to be updated:

          IGNORE: Duh!!
          In the core/config/config.inc.php is the host:
          $http_host='sub.domain.com';


          Changed it, and that didn’t work. Uploaded setup and that gave me a blank page, too.

          Hmmmm..... I’m going to try something and report back....
            MySQL: 5.0.45
            PHP: 5.2.6
            Linux 2.6.9-023stab048.6-enterprise #1
            cURL enabled
            PDO enabled
            FFox Apple 3.6.8
            Firebug DIS-abled
            • 19132
            • 199 Posts
            Quote from: peteedley at Feb 24, 2011, 08:02 AM

            I haven’t done this but working on a site at the moment that will need this my plan is to copy all the files from the sub to the main and then run setup->Advanced upgrade to set all file paths etc. Might then need to fiddle with some system settings. But I think that should work assuming the main domain can access the DB.

            As I say thats only how I plan to do it, don’t know if it works but it should.
            But it doesn’t. I like your simple solution, but it doesn’t work. Just tried.

            More when I try this:
            http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
              MySQL: 5.0.45
              PHP: 5.2.6
              Linux 2.6.9-023stab048.6-enterprise #1
              cURL enabled
              PDO enabled
              FFox Apple 3.6.8
              Firebug DIS-abled
              • 19132
              • 199 Posts
              Following the instructions ins’t going very well. It seems the cache has files that simply won’t go away.

              Same with the Manager template.

              The packages directory: all of the packages get the paths written right to them in the form of a file called preserved.php. Every package you load has that file written to it with the path.

              Still get a white manager page. I wonder if this would be easier with changing the htaccess file to rewrite the URL to replace the subdomain with ’www’ instead? Thoughts? Consequences?

              Peter


                MySQL: 5.0.45
                PHP: 5.2.6
                Linux 2.6.9-023stab048.6-enterprise #1
                cURL enabled
                PDO enabled
                FFox Apple 3.6.8
                Firebug DIS-abled
                • 18373 ☆ A M B ☆
                • 3,141 Posts
                What does the screenshot show?
                  Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                  Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                  • 19132
                  • 199 Posts
                  This. I hope a jpeg file helps you see it.
                    MySQL: 5.0.45
                    PHP: 5.2.6
                    Linux 2.6.9-023stab048.6-enterprise #1
                    cURL enabled
                    PDO enabled
                    FFox Apple 3.6.8
                    Firebug DIS-abled
                    • 18373 ☆ A M B ☆
                    • 3,141 Posts
                    Er, sorry.

                    I meant what am I seeing there, lol. I could see the image just fine but had no idea what I was looking at.
                      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                      • 19132
                      • 199 Posts
                      Those were the additional files I had to go a global Find and Replace with the correct paths to files on top of what it mentioned here:
                      http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

                      So, can you "see" the jpeg now? ;-)

                      At this point, I’ve given up. I’m doing a fresh install of Revo on the domain, using Provisioner to move the content, then moving all the non-revo files over, mostly just my template and other site-specific files.
                        MySQL: 5.0.45
                        PHP: 5.2.6
                        Linux 2.6.9-023stab048.6-enterprise #1
                        cURL enabled
                        PDO enabled
                        FFox Apple 3.6.8
                        Firebug DIS-abled