Frequently Asked Questions
Search FAQ's
Contact Information

GIVE US A CALL!

(888) 826-4687
Toll Free U.S

(888) 222-6263
Toll Free Canada

(405) 236-8200
International Calls


I keep receiving a "Server error" when I run my script. What is wrong?

SUMMARY

There could be many things wrong.

DETAILED SOLUTION

Animus does not provide free support for cgi script debugging. You can use the following method to debug most cgi scripts. Telnet to the server and try to run the script from the command line. - If you are unable to do so, then the script might not have the correct permissions. You can see our FAQ on script permissions to help you with that problem. It might also be possible that the top line of your script does not contain the correct location of perl. If it is a perl script use " #!/usr/local/bin/perl ". - If you receive errors, this usually means there is a problem with the script. You should be able to solve the problem based on the error message that you receive. - If the script runs correctly from the commandline, but not from the web server, then the problem usually means the web server is not receiving the proper header. The VERY first thing that should be output by the cgi script is the proper header. If the script is outputing html, then the header should be "Content-type: text/html\n\n". If this is incorrect, then the web server will generate an error. If the problem is still unresolved, you can call Animus. We will have to charge you, however, unless the problem is our fault.

LINKS TO OTHER RESOURCES


FAQ Search:

Did you find the FAQ you were looking for?

   

 


©1997 Animus Communications