We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36509
    • 127 Posts
    Ok, I made a site on my local machine that works just fine. I did a back up of my database and uploaded all the files in the public_html folder to my host (BlueHost). I followed the instructions that I found here

    https://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server

    When I try to run setup I got a 500 error, so I uploaded all the setup files again. I am able to select the language, move past welcome to the modx installation page, get to install options page and select upgrade current installation, and hit next...then I get a 500 error

    The www.helpinghandsdevelopmentcenter.com page isn’t working

    www.helpinghandsdevelopmentcenter.com is currently unable to handle this request.
    HTTP ERROR 500

    So I ran the test_config.php script to see what it told me, it told me the following:

    Error
    The following errors were detected:

    /home2/helpinx0/public_html/connectors/browser folder does not exist!
    /home2/helpinx0/public_html/connectors/context folder does not exist!
    /home2/helpinx0/public_html/connectors/element folder does not exist!
    /home2/helpinx0/public_html/connectors/layout folder does not exist!
    /home2/helpinx0/public_html/connectors/resource folder does not exist!
    /home2/helpinx0/public_html/connectors/source folder does not exist!
    /home2/helpinx0/public_html/connectors/workspace folder does not exist!

    and when I just go to the domain name I get this error


    Fatal error: Call to a member function parseProperties() on a non-object in /home2/helpinx0/public_html/core/model/modx/modelement.class.php on line 524

    any help would be appreciated
      www.JBMWebDesign.com
      www.JBMAutomation.com
      • 38783
      • 571 Posts
      When updating paths in the config files I sometimes forget to update the three additional files listed in the instructions:
      The main one is: /core/config/config.inc.php

      The three additional files that need updating are:
      /config.core.php
      /connectors/config.core.php
      /manager/config.core.php

      Could that be the problem?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
        • 3749
        • 24,544 Posts
        In addition to andytough's excellent suggestion, check the connectors path in core/config/config.inc.php. Make sure it is correct and ends with a slash.

        While you're there, check the other paths and URLs as well.

        Also, if you transferred the local .htaccess file, the RewriteBase line could be an issue.

          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
          • 36509
          • 127 Posts
          Ok, I got it to work. Not sure why it worked, but here is what I did.

          I uploaded all my files, imported the database. Ran the setup program for MODX, but created a new data base. Once the set up was complete, I edited the config file to point to the imported data base. That got me working. Maybe you guys can tell me why smiley
            www.JBMWebDesign.com
            www.JBMAutomation.com
            • 3749
            • 24,544 Posts
            My guess is that Setup corrected your connectors path and maybe other paths as well, though I don't know why setup wouldn't run for you at first.

            Maybe you transferred one or more of the config files or the .htaccess file from the local site?

              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
              • 47047
              • 43 Posts
              Quote from: andytough at Aug 15, 2016, 03:53 PM
              When updating paths in the config files I sometimes forget to update the three additional files listed in the instructions:
              The main one is: /core/config/config.inc.php

              The three additional files that need updating are:
              /config.core.php
              /connectors/config.core.php
              /manager/config.core.php

              Could that be the problem?

              Hi andytough, I think BobRay says that you should look into the file config.inc.php and search the connectors path line, looks like this:

              
              if (!defined('MODX_CONNECTORS_PATH')) {
                  $modx_connectors_path= '/home/content/79/11842279/html/nameofyousite/connectors/';
                  $modx_connectors_url= '/connectors/';
                  define('MODX_CONNECTORS_PATH', $modx_connectors_path);
                  define('MODX_CONNECTORS_URL', $modx_connectors_url);
              


              Be sure the path is right.

              Hope this help. wink
                @yulianita