We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49515
    • 184 Posts
    Hmm, BobRay said there's no index.html, however I setup my localserver Lamp, to edit the website locally rather than live.
    There seems to be an index.html which does change the local website version of Home.
    I went to upload via FTP to the live website and the local index.html doesn't coincide with the remote MODX website files.

    I have noticed a number of different files in my local path /var/www/html/www.domain.com and the remote MODX website path /public/www.

    I'm guessing the wget and database export has not worked 100%, but not sure what's gone awry?

    I guess I'm wondering if MODX allows website editing that isn't live? [ed. note: eiger3970 last edited this post 9 years, 1 month ago.]
      • 3749
      • 24,544 Posts
      I think your first step should be to rename index.html to something harmless like original-index.html. It really shouldn't be there in a MODX install.

      MODX is perfectly fine with localhost installs. I have a number of them, though they can be a challenge to set up the first time.
        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
        • 49515
        • 184 Posts
        ok, so I removed all files from /var/www/html.
        Localhost shows the apache homepage correctly.
        I then FTPed the MODX website to /var/www/html.
        I then imported the website's database to /var/www/html/MySQL.
        Now localhost shows: Error 503 Site temporarily unavailable.
          • 49515
          • 184 Posts
          Ok, so tried:
          http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server
          https://github.com/modmore/Gitify
          https://github.com/modxcms/teleport
          but failed at point /var/www/html $ ./Gitify
          PHP Warning:  require(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/Gitify/Gitify on line 3
          PHP Fatal error:  require(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/Gitify/Gitify on line 3
            • 49515
            • 184 Posts
            Ok, I've given up on editing MODX websites locally, as opposed to live.
            Now, I'm trying to edit live and the MODX Dashboard search doesn't find an element which Inspect Element finds very easily.

            So, how can I edit a MODX website (live unfortunately for now) easily by finding the element which Inspect Element finds so easily?