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

    First off let me apologize about this being my first post in the forums, but after reading through similar threads, I'm still stuck and losing quite a bit sleep over a looming deadline.

    The following is my story, as it stands.

    I successfully built a MODX Revo. site on my local development machine and have been attempting to move it to a live server. However, after following the instructions found here: http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server, upon loading the manager, I'm greeted by a 500 Internal Server Error displayed in a less than attractive pink box.

    Following the error is this message:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    I can't even re-run the setup as any attempt to access the setup results in an error that says:

    FATAL ERROR: MODX Setup cannot continue.

    To use PHP 5.3.0+, you must set the date.timezone setting in your php.ini. Please do set it to a proper timezone before proceeding. A list can be found here.

    I'm not very versed in this sort of this but here's some information that might help:

    • PHP Version: 5.3.13, not sure how it's running (suexec, mod_php, CGI, etc.)
    • It's on an Apache server
    • I'm on a Mac, OS X 10.8.2
    • MySQL Version 5.0.91

    Hopefully that helps as well.

    Again, I apologise for first post being this desperate plea for help but I'm really stuck so any help would be greatly appreciated.

    UPDATE

    I had to get the technical support staff on my host to change the date.timezone setting in the php.ini file. After this was done, getting access to the setup was enabled and I was able to install a fresh copy of MODX Revo. from there.

    So for anyone experiencing the same issue, definitely check the date.timezone setting. [ed. note: gordon-k last edited this post 13 years, 7 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Did you have friendly URLs turned on? It may involve your .htaccess file. Try removing it or renaming it; if that is the problem you should be able to get into the Manager and turn off friendly URLs, then decide how to get them working again.

      Try removing all the core/cache folders.
        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
        • 42731
        • 9 Posts
        Hi sottwell,

        Thanks for the quick response. I did indeed have friendly URLs enabled so I tried what you said but no dice. I renamed all my .htaccess files to ht.access, cleared my browser's cache, emptied the cache folder in core/cache but I'm still getting the same errors.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Can you create a file, named "info.php", with the content
          <?php
          phpinfo();

          and put that in your web root, then open it in your browser? Does that work?
            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
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            That's not something you should be publicly posting. It gives too many people too much information about your system.

            So we know that PHP works, that's a start.

            Try putting the .htaccess file back, and add one or the other of these lines to it to get the date.timezone set properly.

            SetEnv TZ America/Chicago

            or
            php_value date.timezone "America/Chicago"
              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
              • 42731
              • 9 Posts
              Thanks sottwell, I've removed the post. I also had requested my host to change the timezone in the php.ini file and they just came through so I can actually get into the setup.

              I'm going to try a fresh install now that I have that access and see what happens.

              I'll post back with an update. Hopefully it'll be good news.
                • 42731
                • 9 Posts
                Good news. After a fresh install and going through the process of moving my database, asset folders and reinstalling my extras, the site is up and running.

                Thanks again to sottwell for all the help.
                  • 54204
                  • 7 Posts
                  there's actually quite a few files missing, rather than just one. Can you restore the xml files in C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\conf\Catalina\localhost from backup? Thanks
                  BluestacksTextNowPhotomath [ed. note: nazim13 last edited this post 8 years, 4 months ago.]
                    • 3749
                    • 24,544 Posts
                    Quote from: nazim13 at May 25, 2018, 10:04 AM
                    there's actually quite a few files missing, rather than just one. Can you restore the xml files in C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Server\conf\Catalina\localhost from backup? Thanks -

                    @nazim13, I'm not sure who you meant to send this to, but they're not likely to see it here.
                      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