We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25148
    • 5 Posts
    Hello, for several hours I have been reading and re-reading the steps for setting up modx with MAMP and I am not getting anywhere. I have no programming background but I think I have followed whatever steps people have described to the letter and just can’t get it to happen.

    Steps I have followed:

    I have downloaded MAMP
    Created a new database in MAMP (called it "version1")
    copied the ModX folder (I called it "testSite") into the MAMP/htdocs folder
    entered "http://localhost:8888/testSite" and got a "503 Error"
    entered "http://localhost:8889/testSite", and when I do that, my Safari Downloads window pops up with an empty "Desktop" File.

    No matter what I do I can’t get past this.

    If anyone could take it upon themselves to imagine that I am their 90 year-old grandmother, who has no technical knowledge (or a small child) and explain to me how to simply install modX with MAMP I would greatly appreciate it.

    BTW I am running MacOS 10.4.11 (G5--no intel if that is a concern)
      • 23299
      • 1,161 Posts
      Which flavor of MODx are you attempting to install?

      http://localhost:8888/testSite/ should work for Evo.
      http://localhost:8888/testSite/setup/ should work for Revo.

      Make sure you have set up a database first though. You can set up a database by going to http://localhost:8888/phpMyAdmin/

      Hope this helps!
        • 25148
        • 5 Posts
        Hi Photowebmax,

        It’s modx-2.0.7-pl.

        Neither of those addresses works for me. And I’ve created several databases. But I haven’t seen any instruction on what to do WITH the database once I’ve created it though. I just type the name and hit create, then enter those addresses in Safari and I don’t get anywhere. I’ve managed to get an index of the folder, but nothing that says to install anything.
          • 23299
          • 1,161 Posts
          Hmmmm...

          If you go to http://localhost:8888/ you should see a landing "Index of/" pages that show all the root folders inside your MAMP/htdocs folder.

          I usually download the MODx install zipped file. When that opened archive is on my desktop I immediately duplicate the folder. I then rename the duplicate and move that folder into my applications/MAMP/htdocs folder. If I need more installs I recopy the MODx archive and repeat the process.

          I guess you could try downloading a fresh archive of the MODx application from the MODx site to make sure that there were no issues with the download.

          If you are able to add databases via phpMyAdmin then all seems fine with your MAMP system. The landing page for MAMP is http://localhost:8888/MAMP/?language=English

          Currently I am running MAMP 1.9 which includes PHP 5.3.2. I am no server and PHP guru, but so far I have not had any such issues like you are experiencing.

          Keep us posted!
            • 25148
            • 5 Posts
            I’ve installed it on my web server and am now playing around with it, so at least I can test it out. Hopefully over time I’ll figure out what I may be doing wrong with my MAMP / modX install.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              If you’re using the default MAMP installation you don’t need to create a database; using a database login of root - root the installer can create the database.

              Depending on how you have your Mac configured, you may have to fiddle with the permissions in your MAMP htdocs folder. Since it’s just for local development use, you should be able to use Finder to enable read/write for everybody to that folder (or whichever folder you specify to use as the web root). I just use the default htdocs folder, and drag it to the left column of the Finder to make life easier.

              I also turn off web sharing in System Preferences, and switch MAMP to use the default ports for Apache and MySql; that way no need for fiddling around with ports, although I do need to use my system password when starting and stopping the servers. I also specify that they can’t accept incoming connections when they start up; they don’t need that for localhost access.
                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
                • 23299
                • 1,161 Posts
                I think you are onto something here Susan. But I think the OP was getting the 503 error before being able to fill in the database details in the MODx install page?