We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    I can't for the life of me figure out where that local xampp path is coming from. That's clearly the problem, but it's not coming from the System Setting and the only other way it should appear at all is if the devMode system setting is on. And I'm not getting it at Bob's Guides where the current version of UGM is running. It's a puzzler.

    One thing left to try.

    In the core/components/upgrademodx/model/upgrademodx/upgrademodx.class.php file add these lines at the end of the init() function (just before the closing brace near line 157):

    $cm = $modx->getCacheManager();
    $this->versionListPath = $cm->getCachePath() . 'upgrademodx/;
    


    You might want to re-install UGM first to get your other system settings back.
      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
      • 10891
      • 7 Posts
      Quote from: BobRay at Dec 01, 2018, 10:53 PM
      I can't for the life of me figure out where that local xampp path is coming from. That's clearly the problem, but it's not coming from the System Setting and the only other way it should appear at all is if the devMode system setting is on. And I'm not getting it at Bob's Guides where the current version of UGM is running. It's a puzzler.

      One thing left to try.

      In the core/components/upgrademodx/model/upgrademodx/upgrademodx.class.php file add these lines at the end of the init() function (just before the closing brace near line 157):

      $cm = $modx->getCacheManager();
      $this->versionListPath = $cm->getCachePath() . 'upgrademodx/;
      


      You might want to re-install UGM first to get your other system settings back.

      1) Re-install;
      2) add this line;
      $cm = $this->modx->getCacheManager();
      $this->versionListPath = $cm->getCachePath().'upgrademodx/';

      3) Error: Versions Empty - check github_username and github_token System Settings


        • 3749
        • 24,544 Posts
        Did you clear the cache after making the change?


          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
          • 3749
          • 24,544 Posts
          Wait, here's a question I should have asked a while ago. Are you on a localhost XAMPP install where this path would make sense:

          VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
            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
            • 10891
            • 7 Posts
            Quote from: BobRay at Dec 02, 2018, 03:44 AM
            Wait, here's a question I should have asked a while ago. Are you on a localhost XAMPP install where this path would make sense:

            VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/

            On a http://ccj.wat.edu.pl/modx/index.php?id=1039

            VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
            TempDirPath: C:/xampp/htdocs/modx/ugmtemp/

            On a http://localhost/modx/index.php?id=1039

            VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
            TempDirPath: C:/xampp/htdocs/modx/ugmtemp/

            ?
              • 3749
              • 24,544 Posts
              Are those both XAMPP installs?

                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
                • 3749
                • 24,544 Posts
                Try turning off the ugm_ssl_verify_peer System Setting (in the upgrademodx namespace). If that fixes it, there's a problem with your SSL setup.

                It's insecure to have that setting off permanently. One possible fix is to download a current SSL cert file (in .pem format) and put its full path in the ugm_cert_path System Setting.
                  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