homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Script Error - CGI Misfire Where to look

10+ Year Member

Msg#: 315 posted 4:47 pm on Feb 16, 2001 (gmt 0)

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.




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

Msg#: 315 posted 4:55 pm on Feb 16, 2001 (gmt 0)

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?


10+ Year Member

Msg#: 315 posted 6:11 pm on Feb 16, 2001 (gmt 0)

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?


10+ Year Member

Msg#: 315 posted 9:49 pm on Feb 20, 2001 (gmt 0)

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 https://mydomain/mycgibin/myperlfile.

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



10+ Year Member

Msg#: 315 posted 9:04 pm on Feb 23, 2001 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved