...

View Full Version : form Trouble?? after I submit it from webpage



justvisiting
08-26-2009, 09:07 PM
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.

<!-- if you want to use basic JavaScript validation, keep 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

Fumigator
08-26-2009, 10:23 PM
Read this:

http://codingforums.com/showthread.php?t=68462

Phil Jackson
08-27-2009, 12:06 AM
show us the content of process_form.php

justvisiting
08-27-2009, 12:51 AM
http://airconditioningrepairfortworth.com
at bottom of page click on contact and you will see the page.
Thanks

whizard
08-27-2009, 12:52 AM
We need to see the actual PHP code, not just the outputted HTML.

Dan

whizard
08-27-2009, 12:52 AM
Also that page has no errors ?

Dan

justvisiting
08-27-2009, 01:34 AM
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??

Fumigator
08-27-2009, 04:19 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum