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 just downloaded Version 3.1.5 to a MODx 2.0.8 site with no trouble. Be sure to wait until the "Download" button switches to "Downloaded" before clicking on the "Finish" button.
      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
      • 14087
      • 3 Posts
      I am getting this error on the latest download of captcha for use with SPForm. Any advice is appreciated. Thanks!

      Console running...
      Attempting to install package with signature: captcha-3.2.4-beta1
      Package found...now preparing to install.
      Grabbing package workspace...
      Workspace environment initiated, now installing package...
      Running PHP Validator.
      Checking for GD and FreeType:
      GD lib not found -- install canceled
      xPDOVehicle validator failed: type php (D:/Program Files/Apache Software Foundation/Apache2.2/htdocs/modx/modx-2.0.7-pl/core/packages/captcha-3.2.4-beta1/modPlugin/5ee37624b71093f1f9a38adc88022fff.preinstall.script.validator)
      Could not validate vehicle object of class modPlugin; criteria: Array ( [name] => Captcha )
      Vehicle 114b4bd4829af3b721cc3c71825bd3bd in transport captcha-3.2.4-beta1 failed to install and indicated the process should be aborted.
      Could not install package with signature: captcha-3.2.4-beta1
        • 3749
        • 24,544 Posts
        Captcha requires both GD and FreeType libraries in order to draw the images. It checks for them during the install and aborts the install if they’re not there.

        That message is just telling you that you don’t have the GD library installed on your platform.
          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
          • 14087
          • 3 Posts
          Bob,
          The GD and FreeType libraries, I thought came with my install MODx Revolution 2.0.7-pl (advanced). Is there a way to install these missing libraries independently?
          Thanks!
            • 3749
            • 24,544 Posts
            Quote from: jfill99 at Apr 07, 2011, 02:31 PM

            Bob,
            The GD and FreeType libraries, I thought came with my install MODx Revolution 2.0.7-pl (advanced). Is there a way to install these missing libraries independently?
            Thanks!
            No, they’re part of the web server platform. If you’re on a hosting service, you can ask that the host enable them. If it’s your own server, they may be there but just not enabled. I know they’re installed and enabled by default in XAMPP.
              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
              • 14087
              • 3 Posts
              Per www.php.net/manual/en/image.installation.php
              "In Windows, you’ll include the GD2 DLL php_gd2.dll as an extension in php.ini"

              I uncommented the entry in php.ini, restarted apache and was able to get Captcha installed, and SPForm working. Thanks for tip!!

                • 3749
                • 24,544 Posts
                Quote from: modxuser99 at Apr 07, 2011, 05:29 PM

                Per www.php.net/manual/en/image.installation.php
                "In Windows, you’ll include the GD2 DLL php_gd2.dll as an extension in php.ini"

                I uncommented the entry in php.ini, restarted apache and was able to get Captcha installed, and SPForm working. Thanks for tip!!
                I’m glad you got it working. Thanks for reporting back. smiley

                  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
                  • 30703
                  • 51 Posts
                  Hi,

                  I’m getting the White-screen error. I’ve come to the conclusion that it’s somehow losing the responseID, because if I go into the snippet properties and edit and re-save the responseID parameter (with the same value that was there before), the form starts working again. I’m using MODX Revolution 2.1.1-pl (traditional). I cannot seem to work out why this happens, it seems pretty erratic sad
                  any ideas?

                    Tom Dyer

                    Designer/Animator/Web Developer - England, UK.
                    http://www.bespokepixels.co.uk
                    • 3749
                    • 24,544 Posts
                    Quote from: trymedo at Jun 20, 2011, 05:40 AM

                    Hi,

                    I’m getting the White-screen error. I’ve come to the conclusion that it’s somehow losing the responseID, because if I go into the snippet properties and edit and re-save the responseID parameter (with the same value that was there before), the form starts working again. I’m using MODX Revolution 2.1.1-pl (traditional). I cannot seem to work out why this happens, it seems pretty erratic sad
                    any ideas?

                    It may just be because saving the snippet clears the cache. Try editing a different property and see if that works too.

                    Check that first.

                    Then, see what you get if you add &warnAll=`1` to the SPForm snippet tag.
                      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
                      • 30703
                      • 51 Posts
                      Ok thanks, I’ll try that next time the error occurs. Like I said, it’s not a consistent one so it’s hard to pin down what the exact problem is. In the mean-time I’ve set my response page to be non-cacheable to see if that helps.

                        Tom Dyer

                        Designer/Animator/Web Developer - England, UK.
                        http://www.bespokepixels.co.uk