We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44032
    • 7 Posts
    I've had a problem moving a site from a development site at subdomain.domain.com into the main domain www.domain.com. I did a trial run moving the file but not the database onto another subdomain and that worked fine but when I moved the files into the root folder, and changed the file paths in .htaccess exactly as I had done when I created a new subdomain I could log into the manager fine on www.domain.com/manager but the front end of the site is blank.
    I'm using Revolution 2.2.13 traditional

    Does anyone have any idea what the issue could be?

    Thank you
      • 42046
      • 436 Posts
      Have you checked the paths in core>>config>>config.inc.php ?
      • You'll need to edit four files, config.core.php, connectors/config.core.php, manager/config.core.php, and the core/config/config.inc.php file to make sure that all of the paths and URLs are corrected.

        Then manually delete everything in the core/cache/ directory. And also make sure that all of your browser cache and cookies are deleted for the entire domain.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 48128
          • 2 Posts
          Hello,

          This issue actually originated with me. Thanks to fernpixillion for posting it while I was sleeping to recover from the night trying to launch our site.

          I did triple check all config.inc.php files. All were spotless and correct. (verified in that I was able to install on other subdomains)

          I did NOT empty the cache folder. Would this have any bearing on the root installation and not a subdomain (again, worked on other subdomains)?

          More food for thought: In an attempt to rule out issues I installed a fresh version of MODx on a new subdomain and it installed correctly and I created a "Hello World" front page that showed up perfectly. Then I installed a new fresh version in the root folder and was NOT able to create a "Hello World" page. That new instance ran into the same issue as the attempted loading of our site.

          We have a lot of other pages and folders on the site used for various other apps and such. Could there be anything else in the root folder that could be causing this?

          Here's some more info: we are on cPanel 5 and I am installing after removing a Joomla! instance.
            • 3749
            • 24,544 Posts
            What's the rewrite base in your .htaccess file? It should usually be / if your site is at the web root.

            This might also be helpful (and it's handy to have around): http://bobsguides.com/sitecheck-promo.html. SiteCheck will make sure all the paths and URLs are correct, though it could be fooled if the other site is still there in the subdirectory (rename the subdirectory to check).

              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
              • 48128
              • 2 Posts
              Thanks BobRay, I had actually already gone through some of that site while troubleshooting this problem.

              Here's an update.

              I am assuming that there was some hidden file or setting on the server that prevented the site from being accessible. We were moving from a Joomla! site and there could have been some residual files or settings that conflicted.

              After contacting our hosting provider we were given a new cPanel to create a fresh site. We were planning on this anyway and are able to keep both servers running while I migrate portions of the site over. Using DNS we are pointing subdomains to their respective servers.

              I took the exact same instance of MODx that I had previously failed installing and used it on the new server. Once I did that and did a local host change on my Mac the site showed perfectly. I changed the DNS to point to the new IP and the site works great. So everything in config files and how it was installed was correct to begin with, something 'hidden' was preventing the site from working.

              Thanks to those who chimed in.