We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26334
    • 77 Posts
    OK it took me a while so here is what worked for me, I hope it helps others!

    1) Make sure your server requirements are met. This includes checking if you have the standard open_basedir restriction in place. If so you have to edit your local php config file (may be httpd.include) to include the intended core location in your open_basedir.

    2) Upload all files from the standard package (not advanced) and directories to your web root (public_html, httpdocs etc)

    3) Move the directory core to its new location
    eg
    - /usr/local/revolution
    - /usr/local/modxrevolution
    - /usr/local/modxr
    etc

    4) Edit all config.core.php file
    /config.core.php
    /manager/config.core.php
    /connectors/config.core.php
    /setup/includes/config.core.php

    5) Check permissions on all folders
    - connectors should be 777
    - managers should be 777
    - / should be 777
    - [core]/packages should be 777
    - [core]/cache should be 777
    - [core]/export should be 777

    6) Create a blank file "/core/config/config.inc.php" and make it writable

    7) Create blank database for install

    8) Navigate in a browser to the setup directory and complete setup

    9) Change your root directory back to 755 fro 777

    10) Change your /[core]/config/config.inc.php to 444
      • 26334
      • 77 Posts
      One other thing, if you miss something and the install doesn’t work then delete ALL the files and start again. Things get written as the install proceeds and that seems to stuff up further installs if you go back and fix something and then try to resume install. Saves a lot of heartache to delete everything and restart the install from scratch.
        • 20413
        • 2,877 Posts
        Thanks 4 sharing! smiley
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
          • 28215
          • 4,149 Posts
          splittingred Reply #4, 17 years ago
          Your permissions wont have to be 777 for RC1 - to be honest, this was just a permissions-checking bug in the beta3 release.

          In fact, it’s a security hazard to leave your permissions at 777; only the following directories should be 775; the rest should be 755 with files that are 644. For those of you who have sudo shell access, it’s a simple command to do before install:

          cd /path/to/my/modx/core/
          sudo find . -type d -exec chmod 0775 {} \;
          sudo find . -type f -exec chmod 0664 {} \; 
          


          And then when finished with the upgrade:

          sudo find . -type d -exec chmod 0755 {} \;
          sudo find . -type f -exec chmod 0644 {} \;
          


          Again, I want to reiterate that the 777 bug is a beta-3 problem; this will not be so for beta4 and RC1 (and already isnt so for SVN).

          That said, thanks for the step-by-step.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 26334
            • 77 Posts
            Thanks - I suspected that but wasn’t sure. Thanks for the clarification.
              • 3749
              • 24,544 Posts
              If you don’t have sudo access, FileZilla will let you make the same changes via GUI.
                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
                • 9619
                • 9 Posts
                Hey guys you won’t believe it- took the week off work to learn joomla but it sucks so this morning I switched to modx after reading umpteen ’unsung hero reviews’ and I believe it will deliver

                But I have a problem which is that I can’t seem to transfer all my files from the modx folder to my web space folder without at least 25 files failing to transfer in filezilla

                Here’s the last 3 entries on my error report

                [Fri Sep 18 16:14:37 2009] [error] [client 66.249.65.20] File does not exist: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/robots.txt
                [Fri Sep 18 16:18:26 2009] [error] [client 86.42.138.143] File does not exist: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/usr
                [Fri Sep 18 16:32:38 2009] [error] [client 86.42.138.143] Directory index forbidden by rule: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/



                You can also see the error message on my website www.development-theory.org which I host at Blacknight.com

                I also don’t understand what moving the directory core to its new location means- can someone translate please..

                I hope someone can anyone help me because blacknight support did nothing.

                Thanks,

                F.
                  Like life, love festivals.
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: Festivalpig at Sep 18, 2009, 10:53 AM

                  Hey guys you won’t believe it- took the week off work to learn joomla but it sucks so this morning I switched to modx after reading umpteen ’unsung hero reviews’ and I believe it will deliver

                  But I have a problem which is that I can’t seem to transfer all my files from the modx folder to my web space folder without at least 25 files failing to transfer in filezilla

                  Here’s the last 3 entries on my error report

                  [Fri Sep 18 16:14:37 2009] [error] [client 66.249.65.20] File does not exist: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/robots.txt
                  [Fri Sep 18 16:18:26 2009] [error] [client 86.42.138.143] File does not exist: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/usr
                  [Fri Sep 18 16:32:38 2009] [error] [client 86.42.138.143] Directory index forbidden by rule: /usr/local/pem/vhosts/116650/webspace/httpdocs/development-theory.org/



                  You can also see the error message on my website www.development-theory.org which I host at Blacknight.com

                  I also don’t understand what moving the directory core to its new location means- can someone translate please..

                  I hope someone can anyone help me because blacknight support did nothing.

                  Thanks,

                  F.
                  We can’t do anything about your problems with transferring files to your host. Also, this topic is specifically about alternative installation instructions; please go to http://svn.modxcms.com/docs/display/revolution/ for documentation on getting started with MODx 2.0.0, known as Revolution (please be aware this is beta software and still in development). Though if you are not yet familiar with MODx, you may want to start with the stable release 1.0.0, known as Evolution.
                    • 26334
                    • 77 Posts
                    Yep these installation instructions are only required if you want the one install to run several domains or subdomains.

                    90% + of installs would not require this I would think.
                      • 3749
                      • 24,544 Posts
                      Quote from: scarfy96 at Sep 20, 2009, 06:55 PM

                      Yep these installation instructions are only required if you want the one install to run several domains or subdomains.

                      90% + of installs would not require this I would think.

                      Putting the core a non web-accessible directory is a good security measure even for a single domain.
                        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