Help - Search - Members - Calendar
Full Version: CGI Error & PHP Access Violations
The Planet Forums > Control Panels > Helm
avman33
Hi folks,

I've been receiving some errors on my new Windows 2003 Standard w/Helm server and I was wondering if anyone could shed some light on them. Here we go.

The first error is:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

This happens whenever I try to run a CGI/Perl script.

The second error is:

PHP has encountered an Access Violation at 01830AFD

This happens whenever I try to run certain PHP scripts. It doesn't happen all the time just certain periods and then it will start working again without me doing anything. Has anyone exeprienced this before?

I'm using the ISAPI PHP dll so I think that could be the root of the problem with the PHP but the CGI Error I just can't figure out.

Thanks.
hjg
Ensure that the PERL/CGI scripts are sending the correct MIME type to the webserver. You can try the following page to see if it works.

print "Content-type: text/htmlnn";
print "

CGI Test Page

n";

Save the above code as test.cgi and open this in a browser, it'll help breakdown this issue further.
avman33
QUOTE
Originally posted by hjg
Ensure that the PERL/CGI scripts are sending the correct MIME type to the webserver. You can try the following page to see if it works.

print "Content-type: text/htmlnn";
print "

CGI Test Page

n";

Save the above code as test.cgi and open this in a browser, it'll help breakdown this issue further.

I've tried that, still no luck. It randomly happens on scripts. One time it will work another it won't icon_sad.gif
pablo
i have the same problem also..any solution???
my php isapi sometimes goes with the error
PHP has encountered an Access Violation at

i donīt know what to do
thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.