We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37984
    • 215 Posts
    I have a site that has been launched for a long time (over a year now) and without any changes being made to the FormIt chunks or the call, all FormIt forms have stopped functioning. The only error in the log is:

    [FormIt] Could not find hook "successMessage".


    This is a huge deal, as their forms are more complex than just a simple contact form, and they get multiple submissions a day. Please help!

    They are running MODX 2.2.4 and Formit 2.2.0.
      Jesse Couch
      MODX Aficionado, Front-End Designer & Developer
      http://www.designcouch.com
    • Try manually deleting all the folders under the core/cache/ folder.
        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
        • 37984
        • 215 Posts
        Quote from: sottwell at Jun 03, 2013, 04:23 PM
        Try manually deleting all the folders under the core/cache/ folder.

        Susan,

        Thanks, but the error persists after doing this. No dice sad
          Jesse Couch
          MODX Aficionado, Front-End Designer & Developer
          http://www.designcouch.com
          • 37984
          • 215 Posts
          Update: It actually appears that Network Solutions is to blame. I now need some advice: NS says that I can no longer use a port number to process email forms; instead, I need to use localhost. Does anyone know how to alter this in Formit? Pretty please?
            Jesse Couch
            MODX Aficionado, Front-End Designer & Developer
            http://www.designcouch.com
          • Do you mean that NS doesn't let you use SMTP mail on their servers? As in you can't connect to external mail servers? Or are you saying something different?
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
              • 37984
              • 215 Posts
              Jay,

              I'm not entirely sure. When it comes to email, I just have my method, and it's kind of "set it and forget it". When I say that they aren't allowing me to use ports anymore, that's almost verbatim what I was told by the support tech. He said the following:

              We have instituted changes to increase security, and it has caused a lot of email forms to stop working. To fix this, you need to use localhost to send your emails instead of a specific port number.

              I am not an email expert - I simply use FormIt as instructed. Can anyone shed any light on this for me?

              To be clear, this is apparently affecting all email sent from this MODX install, and not just Formit forms. I don't even get the password reset email from the MODX login page.

              Scratch the above statement. The password retrieval email just came through, so apparently this is a FormIt issue after all. [ed. note: designcouch last edited this post 10 years, 10 months ago.]
                Jesse Couch
                MODX Aficionado, Front-End Designer & Developer
                http://www.designcouch.com
                • 37984
                • 215 Posts
                I have figured out what was going on here. Turns out, Network Solutions no longer plays well with emails sent from a domain other than the localhost domain. My Formit emails were being sent from a gmail account referenced in the call, so changing that email to one that is on the domain allowed the emails to go through.
                  Jesse Couch
                  MODX Aficionado, Front-End Designer & Developer
                  http://www.designcouch.com
                • Ahh, glad you got it solved, Jesse. Keep on rocking!
                    Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
                  • That is a security measure many of us instituted years ago to kill open sending on sendmail. We locked all outbound to local email. Any scripts it broke usually needed to be. You can change settings from email in the System Settings if need be.
                      Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                      Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com