We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32562
    • 1 Posts
    When I click on the send button in my eForm contact page my website stops responding and I have to restart apache to get it working again.

    {{contact_form}} :
    <p class="error">[+validationmessage+]</p>
     
    <form method="post" action="[~[*id*]~]" id="EmailForm">
     
    	<fieldset>
    		<h3> Contact Us</h3>
     
    		<input name="formid" type="hidden" value="ContactForm" />
     
    		<label for="cfName">Your name:
    		<p><input name="name" id="cfName" class="text" type="text" eform="Your Name::1:" /></p></label>
     
    		<label for="cfEmail">Your Email Address:
    		<p><input name="email" id="cfEmail" class="text" type="text" eform="Email Address:email:1" /></p> </label>
     
    		<label for="cfRegarding">Regarding:
    		<p><input name="subject" id="cfRegarding" class="text" type="text" eform="Form Subject::1" /></p> </label>
     
    		<label for="cfMessage">Message:
    		<p><textarea name="message" id="cfMessage" eform="Message:textarea:1"></textarea></p>
    		</label>
     
    		<label> </label><p><input type="submit" name="contact" id="cfContact" class="button" value="Send This Message" /></p>
     
    	</fieldset>
     
    </form>


    {{report_form}}:
    <p>This is a response sent by <b>[+name+]</b> using the feedback form on this website. The details of the message follow below:</p>
     
    <p>Name: [+name+]</p>
    <p>Email: [+email+]</p>
    <p>Regarding: [+subject+]</p>
    <p>Comments:<br />[+message+]</p>
     
    <p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE: [+subject+]">[+email+]</a></p>


    eForm snippet call:
    [!eForm? &formid=`ContactForm` &subject=`[+subject+]` &to=`[email protected]` &ccsender=`0` &tpl=`contact_form` &report=`contact_report` &gotoid=`11`!]


    I would appreciate any insight someone could give me into this problem... If y’all think you need more information just ask!

    Thanks,
      • 20413
      • 2,877 Posts
      1. your <form> is named "EmailForm"" but you use &amp;formid=`ContactForm` in the snippet call.
      2. What is in chunk "contact_report"?

      http://modxcms.com/forums/index.php/topic,40984.msg246978.html#msg246978
        @hawproductions | http://mrhaw.com/

        Infograph: MODX Advanced Install in 7 steps:
        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
        • 38685
        • 59 Posts
        Hi!

        Something just occurred to me whilst reading your post...

        Your running Modx on a localhost server, Right?

        This problem probably has something to do with you configuration....

        Hope this helps!
        Paul
          Paul AL Bakulich - Association for Computing Machinery Professional Member
          http://palbakulich.me/ | http://twitter.com/#!/palhmbs