Forum

Fatal Error:Bad QUERY_STRING

Duke Normandin
5 December 2010, 21:41
Hello folks...

Started testing a CGI script, but didn't get too far. Hiawatha choked with the above error message. I'm trying to determine what I did in the script to cause this? All ideas welcome - especially Hugo's TIA...
--
Duke
Hugo Leisink
6 December 2010, 08:40
That isn't an error message from Hiawatha. What CGI script are you testing? Can you share it with us?
Duke Normandin
6 December 2010, 16:57
I just realized that the issue I'm trying to resolve with my CGI script has nothing to do with Hiawatha.

There is no problem with sharing, but at the moment there isn't much to share.
I'm developing a CGI library/module for a language called euphoria. When an programming error occurs, euphoria writes an error file to the directory in which the script was executed. To test my CGI scripts, I first try to run them from the CLI. I debug until they work. from the console. I then test them from a browser.

My current problem shows up in the Hiawatha logs as:

Sun 05 Dec 2010 22:24:44 -0700|127.0.1.1|/home/dnormandin/www/Site1/cgi-bin/euTest.cgi|Can't create error message file:
Sun 05 Dec 2010 22:24:44 -0700|127.0.1.1|/home/dnormandin/www/Site1/cgi-bin/euTest.cgi|ex.err
Sun 05 Dec 2010 22:24:44 -0700|127.0.1.1|/home/dnormandin/www/Site1/cgi-bin/euTest.cgi|no output

and a "500 - Internal Server Error" screen. It appears to be a permissions thing, but the directory is world writable (for the moment), so I'm stuck.

Duke Normandin
7 December 2010, 02:56
Please disregard! i got it solved...
This topic has been closed.