Subscribe: RSS
  • 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.
      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
    • 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


      • Did you clear the cache after making the change?


          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
        • 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/
            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
          • 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/

            ?
            • Are those both XAMPP installs?

                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
              • 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.
                  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