Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Script Error - CGI Misfire Where to look



4:47 pm on Feb 16, 2001 (gmt 0)

10+ Year Member

I have a form that is filled and submitted using javascript to a cgi program. It works great all most all of the time. It goes through phases that when you click submit it imediately comes back with browser error page (not sure what you call it). I receive no errors in my log files so it looks like it never contacts the server.
If this happened just once and then the next time it was ok I would just say that the javascrip misfired. I have (when its in this mode) used different browsers and computers and get the same error.
I could sure use some ideas as to where I should look for what is causing this.



4:55 pm on Feb 16, 2001 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

You are right - first step is determining if it is a browser side error, or server side.
Do you have a modem with lights?
When you click and get the error, is there internet traffic?

If there is no error in your error logs, then it sounds like it must be browsers. It could still be server side with the script itself generating the error and not any server error (so no error would be in the logs).

Does the script you are using on the server have any "Debug" modes in it you could turn on?

When it does this on you, have you backed up from the error page and looked at the source code to make sure the script hasn't generated bad html/js, thus causing the browser to error?

Does it error EVERY time on that page, or do you have to reload the page to get the error to go away?

Have you tried turning on scripting errors in your browser to make sure there isn't some weird js error that could be causing it?


6:11 pm on Feb 16, 2001 (gmt 0)

10+ Year Member

Thanks Brett,
>>When you click and get the error, is there internet traffic?>> It is so quick I can't realy say, but I would guess yes.

The script is a version of formmail for pgp mail. I have the perl error swith at the top of the script.

If I back up it does not affect the page rendering. I can reload several times and still get the error, then it will start working.

I have had the script errors turned on in the browser.

Could the mail server misfire and not give me any errors?


9:49 pm on Feb 20, 2001 (gmt 0)

10+ Year Member

O.K., Its messing up today.

1. The light flashes on my router.

2. The address in the location bar is correct. The address is like this [mydomain...]

3. The perl script calls the server pgpmail program.

Can any one point me in the right direction. It looks to me like a server problem but where



9:04 pm on Feb 23, 2001 (gmt 0)

10+ Year Member

Problem taken care of! My web host tech found that there is a IE bug that causes this problem. Small configuration change on the server and its handled.

Featured Threads

Hot Threads This Week

Hot Threads This Month