Forum Moderators: coopster & phranque

Message Too Old, No Replies

form not working...what is going wrong

         

contentmaster

2:10 pm on Feb 6, 2004 (gmt 0)

10+ Year Member



im trying to make a form for my webpage and on uploading the cgi file in the cgi bin i have set the chmode to 755...still the form is giving an error...what am i missing out

jatar_k

5:09 pm on Feb 6, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



What's the exact error?

muskr

6:13 pm on Feb 6, 2004 (gmt 0)

10+ Year Member



The first place to look is your web server's error_log. Paste that error in here and we can probably help. There's a lot of things that could go wrong.

contentmaster

8:50 am on Feb 7, 2004 (gmt 0)

10+ Year Member



This is what it says on clicking submit

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

tombola

9:10 am on Feb 7, 2004 (gmt 0)

10+ Year Member



Internal Server Error

Well, in that case there's only one thing you can do, I'm afraid: debug your program.

Even if you forgot to put one semicolon after a command, you'll get this error :-(

contentmaster

9:18 am on Feb 7, 2004 (gmt 0)

10+ Year Member



Oh heck...:(

Ok so ill have to go through the form and check for something i might have left out! ok...but what abt the cgi file..is something wrong with that too?

tombola

9:24 am on Feb 7, 2004 (gmt 0)

10+ Year Member



I would start with this:

1. Just check your .html page (that contains your form) that it uses the same variables as your cgi script.
2. Upload your cgi script in text mode and chmod 755.

If it still doesn't work, you must debug your .cgi script (if it's not too long, you can post it here, I guess).

contentmaster

4:20 pm on Feb 8, 2004 (gmt 0)

10+ Year Member



Thanks so much tombola!

I think the problem is rectified!