We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40186
    • 28 Posts
    I thought I'd nailed this...

    I built a test site at a subdomain of my main site:
    http://www.mod.hellbendermedia.com/

    My main domain was (at the time) hosting the full site under a different CMS, with over 700 pages or so.

    I wanted to build up the test site enough and then make the switch.

    I'm running Revo 2.2.2 on an Apache server, hosted by Dreamhost.

    The way Dreamhost works is that you have folders for each domain and subdomain... I'm sure you know the drill. Each domain allows you to point to a folder which contains the site files. As it happens, the original site was pointing to some oddball folder (previous domain).

    So, when I was ready enough, this is what I did:

    1. Changed the MOD.HELLBENDERMEDIA.COM folder's name to HELLBENDERMEDIA.COM
    2. Told the HELLBENDERMEDIA.COM domain settings to point all calls to the HELLBENDERMEDIA.COM folder.

    Checked. Whoops, failure condition. Could not even log into the manager.

    3. Checked http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
    4. Changed all the settings described in "Updating your Config Files"
    5. Tried to follow the directions in "Update your Database," but the phpAdmin app was being crabby. I ended up changing the PATH value somewhat manually.

    So, this is where I am so far:

    The site at http://www.mod.hellbendermedia.com/ still works, although if I follow links on it, I tend to switch to the non-"MOD." version of the link, which I kinda expected.

    I seem to be able to navigate handily around http://www.hellbendermedia.com/, so that's good. Even the gallery stuff worked well right outta the gate.

    If I go to http://www.mod.hellbendermedia.com/manager/ I can continue doing the things I do to make the website hunky-dory. I can add pages, move stuff around, etc.

    HOWEVER...

    If I go to http://www.hellbendermedia.com/manager/, I see the title bar at the top, the menu bar below it, and then the entire rest of the screen is blank. Just a big white rectangle.

    I can still edit my site using the manager tool from http://www.mod.hellbendermedia.com/manager/, but that's not going to work in the long term, because I want to kill the MOD. domain as soon as reasonably possible.

    It SMELLS like somewhere I have a path wrong, but I cannot figure out where that might be.

    I read that one option was to reinstall MODx on top of one's existing installation, but I'm a bit terrified that'll wipe out my existing site (yikes!) and that was a few weeks worth of work.

    Ideas? Suggestions? Observations? Help?

      • 3749
      • 24,544 Posts
      The first thing to try is deleting all the files in the core/cache directory (both of them in this case) and clearing your browser cache and cookies. A leftover cookie or cache file can cause all kinds of weirdness.

      Double-check all the paths and URLs in the site's core/config/config.inc.php. There are a bunch of them and it's easy to miss one. Make sure you note the difference between the paths and the URLs.

      Check path in the config.core.php file in manager/includes.

      Running Setup will usually straighten out the paths. It normally won't touch any of your content (I've done it hundreds of times), but since your site is currently so unusual, I would back up both the files and the DB first.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        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
        • 40186
        • 28 Posts
        Cleared out as much as I could. Can't do much, though, because there IS no content under the menu bar in the manager.

        Checked paths.

        Downloaded entire site to a local box and did a search for the string "mod.hell" Found it associated with some images (I suppose I'll have to fix those later -- in the code, I used relative links), but not in any PHP or other text files.

        On relatively unknown ground now...

        Logged into the server via phpMyAdmin, went to my database, did a search for %mod.hellbender%
        Found 7 matches in modx_manager_log, but I think those are just log entries, so I can ignore them.
        Found 1 match inside modx_site_content, but this looks like some content in a page, so I think I can ignore it.
        Found 2 matches in modx_site_htmlsnippets. Clicked [Browse] and it returned a "#1065 - Query was empty"

        So you're suggesting I run SETUP. As in following these directions?

        http://rtfm.modx.com/display/revolution20/Basic+Installation

        If so, what Install Options address "reinstalling over an existing structure"? The UPGRADE EXISTING INSTALL procedure or the ADVANCED UPGRADE INSTALL?

        Thanks!

          • 3749
          • 24,544 Posts
          It sounds like you might have misunderstood this: "The first thing to try is deleting all the files in the core/cache directory." I meant to use FTP or cPanel's File Manage and literally delete all the *files* in the core/cache directory of both the old and new site.

          When you run Setup, you should use UPGRADE EXISTING INSTALL. It will look just like it did when you first installed.


          ------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using.
          MODX info for everyone: http://bobsguides.com/modx.html
            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
            • 40186
            • 28 Posts
            Booya!

            Thank you, BobRay, that was the last piece I was missing!
              • 3749
              • 24,544 Posts
              I'm glad you got it working. smiley



              ------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using.
              MODX info for everyone: http://bobsguides.com/modx.html
                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