Even more basic...did you edit the script?
If so, you need to use a text editor that keeps
the ASCII formatting intact (wordpad doesn't do this by default.)
Make sure "word wrap" is OFF.
Upload in ASCII mode with your FTP client.
CHMOD files 755.
If you don't want to invoke the CGI module,
Creata a blank text file in notepad, name it error.txt, and
upload it into your main HTML directory.
Then add this code to the top of your script directly below the
shebang-
BEGIN {
open (STDERR, ">/path/to/error_file/error.txt");
}
replace the path with the server side path to the text file.
Then just open error.txt in browser to get more complete
error messages.
GL
|