We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8790
    • 526 Posts
    Am I the only to one to find the archive not as it ’ supposed to be ’ ?

    Here’s what I got into the zip for ver 1.3

    /eform
    |___/docs (empty)
    |---/lang (empty)
    ...and what is described into the documentation

    /eformx
    |___/docs (empty)
    |---/snippets
    /webroot
    |___/modx0902
    |---/html
    |---/assets
    |---/html
    |---/snippets
    |---/eform
    |---/docs (empty)
    |---/lang (empty)

    1st "eform"content looks like being the real stuff.. is that right ?

    What should be done with the 2 other forlders and subs ??

    Thanks
      Schtroumpf Grognon - Grouchy Smurf
      ---------------------------------
      Faites pas attention.. - Don't pay attention
      http://www.dzi-neo.net
      • 30223
      • 1,010 Posts
      Hmmm well,... you can blame me and winzip for that I’m afraid. I just tested this out and I get the same folders when extracting the zip. However in the Winzip dialog the empty folders are not visible. (They are a remnant of me trying something out - teaches me to re-use a winzip archive by deleting and then adding stuff sad )

      Sorry about that... I’ll see if I can find some different archive software for the future and I’ve now re-upload a version without all the extra bits (I hope smiley ).

      And yes, all you need is what’s in and below the eform folder. All the empty folders can be deleted.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Somebody forgot to take care of the $replyto in the AddAddressToMailer function. Here’s the corrected function (line 352 of eform.inc.php)
        # Adds Addresses to Mailer
        function AddAddressToMailer(&$mail,$type,$addr){
        	$a = explode(",",$addr);
        	for($i=0;$i<count($a);$i++){
        		if(!empty($a[$i])) {
        			if ($type=="to") $mail->AddAddress($a[$i]);
        			elseif ($type=="cc") $mail->AddCC($a[$i]);
        			elseif ($type=="bcc") $mail->AddBCC($a[$i]);
        			elseif ($type=="replyto") $mail->AddReplyTo($a[$i]);
        		}
        	}
        
        }
        
          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
          • 30223
          • 1,010 Posts
          Thanks for that Susan.. I’ve updated it in the repository.
            • 8790
            • 526 Posts
            Ok

            I’ll wont blame anyone, just a matter of clarification rolleyes

            Thank you
              Schtroumpf Grognon - Grouchy Smurf
              ---------------------------------
              Faites pas attention.. - Don&#39;t pay attention
              http://www.dzi-neo.net
              • 16072
              • 15 Posts
              Please help!
              That this: Could not instantiate mail function

              What me do huh
                • 32963
                • 1,732 Posts
                Quote from: kms_cms at Oct 05, 2006, 09:49 AM

                Please help!
                That this: Could not instantiate mail function

                What me do huh

                Hi,

                Can you please supply us with some details on your setup?

                Things like version of eForm and MODx used, etc
                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.
                  • 16072
                  • 15 Posts
                  Quote from: xwisdom at Oct 05, 2006, 12:01 PM


                  Hi,

                  Can you please supply us with some details on your setup?

                  Things like version of eForm and MODx used, etc

                  Yes i can  smiley
                  Eform - 1.3 latest version (I download her 03.10.06)
                  MODx - 0.9.2 (rev 1005)
                  PHP Version 4.4.2
                  Server - Apache
                  safe_mode On
                  System - FreeBSD

                  What to tell ?

                  The error appears after sending the message, but the letter comes .
                  But message subject : 0
                  the body message is present

                  [[eForm? &formid=`feedbackForm` &to=`[email protected]` &tpl=`eFeedBackForm` &report=`eFeedbackReport` &mailselector=`department` &vericode=`1` &subject="Сообщение с сайта" ]]
                    • 25663 MODX Staff
                    • 12,272 Posts
                    I believe its an incompatibility with safe_mode being on and the mail function, but not 100% certain.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 32963
                      • 1,732 Posts
                      There’s an error in your code:

                      Change
                      &subject="Сообщение с сайта"

                      to
                      &subject=`Сообщение с сайта`
                        xWisdom
                        www.xwisdomhtml.com
                        The fear of the Lord is the beginning of wisdom:
                        MODx Co-Founder - Create and do more with less.

                      This discussion is closed to further replies. Keep calm and carry on.