PDA

View Full Version : ACK please help getting Server Error or Not Working



jmrothermel
26-May-2006, 10:18 PM
When I try to use the form I either get no response, or on another simple form I made I get an error. Please tell me if you can help with these. I have attached the script and HTML codes (both the simple and the complex one) I am using. THank you sooooooooooooo much in advance. Like I said the first one if I click submit it just brings the same form back up empty with no email, and the second one (I created just to make sure that it works) I get a 500 Internal Server Error. The PHP script I included up until just after you change the email, otherwise it was too big.

asket
29-May-2006, 09:13 AM
:confused:

but you aren't really using microsoft word for editing php and/or html files?
I ask cause of .doc files you've added.

get sure you've quoted (all of) your email address(es) correctly in your formmail.php file
(including all necessary "\" before a ".")

$TARGET_EMAIL = array("^application\.@domain\.com$");
for example the recipient's email address in your simple form is not the same as in your script's file

edit: have just seen that your email in your complex one is "application@...." therefor:

$TARGET_EMAIL = array("^application@domain\.com$");

jmrothermel
29-May-2006, 08:33 PM
No Im not using that to edit, just to post on here because I didn't know of any other way. I will do as you stated, and see if that works. Thank you for your help.

Jacqui

jmrothermel
29-May-2006, 08:39 PM
Hmmm that sirt if worked....instead of getting no response like the page just did nothing, I am getting this: (the only two codes I am using now is the form action and the hidden one that tells it where to mail to. I figured once I get that to work then I can move on to the other commands.



Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@reversalhopes.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

asket
29-May-2006, 09:18 PM
regarding your current form(s):

1. you have:

<input type="hidden" name="recipient" value="your@domain.com">
but it has to be "recipients"!

<input type="hidden" name="recipients" value="your@domain.com" />

2. in your complex one you have 2 form tags, that's one too much
furthermore you have to specify your full url, for example:

<form method="post" action="http://www.reversalhopes.com/cgi-bin/formmail.php" name="Application">

3. for redirecting users to your "thankyou.html" page use:

<input type="hidden" name="good_url" value="http://www.reversalhopes.com/thankyou.html" />
instead of "<input type="hidden" name="redirect" va... "

jmrothermel
30-May-2006, 03:15 AM
Ok I simplified even my compex form....and here is what I am left for as far as "directions"


<form method="post" action="http://www.reversalhopes.com/cgi-bin/formmail.php" name="Application">
<input type="hidden" name="recipients" value="application@reversalhopes.com">
<input type="hidden" name="good_url" value="<A href="http://www.reversalhopes.com/thankyou.html/">

And it still doesnt work. Any other suggestions before I make it a mailto? :eek: Im at wits end here. Thanks for the help everyone. One other thing....does it have to have certain permissions? the formmail.php file?

Edit Update: I also tried this form http://www.tectite.com/vbforums/showthread.php?t=15 editing the lines to fit my form.....and it doesnt work either. I get the same error. Im wondering if its something with my formmail file that I did wrong?

jmrothermel
30-May-2006, 03:46 AM
WOW I got a breakthrough! (Sort of LOL) I followed the instructions on this thread http://www.tectite.com/vbforums/showthread.php?t=80 to make sure my server accepted php and for some reason it didnt work in my cgi-bin file so moved it to a new location www.reversalhopes.com/formmail.php (http://www.reversalhopes.com/formmail.php) and now....I get this!


An error occurred while processing the form .

Please contact us directly since this form is not working .
We apologize for any inconvenience this error may have caused.

Your form submission was processed by (7.05), available from www.tectite.com (http://www.tectite.com/).

Since fields like the email are requred, if I leave those out the form will give an error saying to fill them in. But if everything is filled in, thats still the error I get. Thanks again so much for all your help thus far.

jmrothermel
30-May-2006, 12:48 PM
HA HA ITS WORKING!!!! Thanks for all your help, I appreciate it!

hardrinseron
05-Jul-2006, 01:05 PM
hi,

i too get the following error

An error occurred while processing the form .

Please contact us directly since this form is not working .
We apologize for any inconvenience this error may have caused.

Your form submission was processed by (7.09), available from www.tectite.com (http://www.tectite.com/).

how did you get it working and get rid of this error?

thanks