Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    form Trouble?? after I submit it from webpage

    I recently moved my webpage changed hosting company now my contact form doesnt work Ive contacted them but they say they arnt able to help. Im no coder but Im willing to fix whats wrong with a little help I have web expressions 2 and can see the code I didnt build the page and the company is no longer around this is the errors I get after filling out the form and submitting it from with in the webpage.

    Warning: include(validation.class.php) [function.include]: failed to open stream: No such file or directory in D:\Hosting\4697594\html\process_form.php on line 36

    Warning: include() [function.include]: Failed opening 'validation.class.php' for inclusion (include_path='.;C:\php5\pear') in D:\Hosting\4697594\html\process_form.php on line 36

    Fatal error: Class 'required' not found in D:\Hosting\4697594\html\process_form.php on line 84

    This is the code from expression web.
    PHP Code:
    <!-- if you want to use basic JavaScript validationkeep the JS file call below -->
    <
    script src="http://airconditioningrepairfortworth.com/validation.js"></script>
    <script>
    // SPECIFY ALL REQUIRED FIELDS AND
    // SEE validation.js for other options
    required.add('fullname', 'NOT_EMPTY');
    required.add('email', 'EMAIL');
    required.add('comments', 'NOT_EMPTY');
    required.add('answer_out', 'NUMERIC');
    </script>
    <link rel="stylesheet" type="text/css" href="http://airconditioningrepairfortworth.com/form_style.css" />


    <form action=(/gdform.php)  method="post"onsubmit="return validate.check()">
    <div id="fcf2">
    <h3>Contact Climate King, Inc.</h3>
    <p>All fields marked with <em>*</em> are required.</p>

    <div class="r">
    <label for="fullname" class="req">Full Name: <em>*</em></label>
    <span class="f">
    <input type="text" name="fullname" size="40" style="width: 95%;" id="fullname" onBlur="trim('fullname')">
    </span>
    </div>

    <div class="r">
    <label for="email" class="req">Email Address: <em>*</em></label>
    <span class="f">
    <input type="text" name="email" size="40" style="width: 95%;" id="email" onBlur="trim('email')">
    </span>
    </div>

    <div class="r">
    <label for="phone" class="req">Telephone: <em>*</em></label>
    <span class="f">
    <input type="text" name="phone" size="40" style="width: 95%;" id="phone" onBlur="trim('phone')">
    </span>
    </div>

    <div class="r">
    <label for="comments" class="req">Comments: <em>*</em></label>
    <span class="f">
    <textarea cols="30" rows="8" style="width: 95%;" name="comments" id="comments" onBlur="trim('comments')"></textarea>
    </span>
    </div>

    <!-- the section below MUST remain for the magic to work -->
    <!-- although feel free to change the style / layout -->
    <div class="r">
    <label for="quest" class="req">45 plus 4? <em>*</em></label>
    <span class="f">
    Answer Spam Question: <input type="text" name="answer_out" size="6" id="answer_out" onBlur="trim('answer_out')"> &nbsp;


    </span>
    </div>
    <!-- section above must remain -->


    <div class="sp">&nbsp;</div>

    <p align="center">
    <input type="submit" value="Submit">
    <br>
    </p>
    <!-- the 2 hidden fields below must REMAIN for the magic to work -->
            <input type="hidden" name="answer_p" value="XmQ*">
            <input type="hidden" name="enc" value="WpsDYls8Wp0DWmnE::fCPaGd9Ro7XNH1rC">
    <!-- above 2 hidden fields MUST remain -->
    </div>
    </form>


      </p> </td>             </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
     
      <table border=0 cellpadding=0 cellspacing=0 width="756">
        <tr> 
          <td height=13></td>
        </tr>
        <tr> 
          <td align=center class="fp_link_txt"> <a href="index.htm" class="fp_link_txt">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; 
            <a href="terms.htm" class="fp_link_txt">Terms</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; 
            <a href="privacy.htm" class="fp_link_txt">Privacy Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; 
            <a href="contact.php" class="fp_link_txt">Contact Us</a>&nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr> 
          <td align=center class="fp_copy"> &copy; 2008 Air Conditioning Repair Fort Worth by Climate King Lic. #TACLA26314E All Rights 
            Reserved. </td>
        </tr>
        <tr> 
          <td height=13></td>
        </tr>
      </table>
     </div>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
    "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +
    "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript"> 
    Any Help would be a blessing. Thanks
    Last edited by justvisiting; 08-26-2009 at 11:50 PM. Reason: to usuphp

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts

  • #3
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts
    show us the content of process_form.php

  • #4
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    here is the page

    http://airconditioningrepairfortworth.com
    at bottom of page click on contact and you will see the page.
    Thanks

  • #5
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    We need to see the actual PHP code, not just the outputted HTML.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #6
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Also that page has no errors ?

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #7
    New to the CF scene
    Join Date
    Aug 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by whizard View Post
    Also that page has no errors ?

    Dan
    Thanks for the reply in expression web2 in my code view im not able to see it
    nothing other then what I have paisted above Has I said I didnt build the page
    and Im not a coder Im just trying to get this form to work when i would get email from it in the past it went to yahoo.com into my mail??

  • #8
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    You can get to the PHP code if you're hosting it, which it sounds like you are. And that's what we need to see in order to be of any help at all.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •