We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40324
    • 3 Posts
    Hi,

    Having been over the usual routes (Bob and all the forums) I'm totally stuck.

    I'm trying to get a local copy of a live website running on my MBP using MAMP Pro.

    I've got to the point where I can access the website. The issue is that I cannot access the homepage. This returns an error:

    HTTP Error 500 (Internal Server Error)

    Please note:

    Thanks
      • 22303 MODX Staff
      • 10,725 Posts
      Edit the start page in your site and comment out tags, e.g.
      [[-!DashTurnsTagIntoComment]]
      until you identify the cause of the error. If you have any plugins enabled on the site, try disabling those one at a time as well.
        • 34109
        • 119 Posts
        Have you manually cleared the cache folder? Sometimes clearing the cache through the manager doesn't empty it entirely. It may be a snippet call that is only on your home page which is to blame. I'd go through the template removing them one by one.

        Hope this helps!
          Studio Republic
          http://www.studiorepublic.com
          0845 226 3205
          @christodhunter
          • 27708 MODX Staff
          • 2,502 Posts
          getDave, Are you able to check your server logs in MAMP? They are in /Applications/MAMP/logs typically. There may be some clues in the php_error.log
            Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
            • 40324
            • 3 Posts
            Guys. Thank you for your responses.

            The issue was easily identified once I looked in the PHP log. I had already tried to do this but it seems I was looking at the Apache log not the PHP log.

            The issue was to do with memory size as there are several large images require processing via PHP on the homepage. This was exceeding the memory allowance.

            Thank you for your help. Much appreciated.