The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
syntax error at C:\ATHWEB\CGI\athweb.pl line 2244, near "print"
Missing right bracket at C:\ATHWEB\CGI\athweb.pl line 4066, at end of line
Execution of C:\ATHWEB\CGI\athweb.pl aborted due to compilation errors.
Okay, so I guess it isn't as easy as just switching out the hex color. Maybe by saving it in notepad it messed it up.
Any help would be appreciated. The original athena.pl is gone...I would need to fix this file
TIA~
Compile the program at the command line:
perl -c C:\ATHWEB\CGI\athweb.pl
You should clearly see the errors there.
If you can't find your typo, post line 2240-2250 or so and someone will probably spot it.
I am not a programmer so this is why I am in this mess! lol
If there is a program I need to download to get this information so that I can post it let me know.
thanks again:-)
Windows uses <CR><LF> as linebreaks but unix typically uses just <LF> (I think). If you uploaded in binary mode, the script is likely to fail. Having said that, I would not expect the error messages you are seeing.
Otherwise, you could download ActivePerl (it's free) and try to compile what you have. The error messages may be cryptic but someone here may be able to help.
Alternatively, ask admin to restore the original file from backup.
Kaled.
Did you try to type "perl -c C:\ATHWEB\CGI\athweb.pl" at the command prompt? The "-c" option is how you check the syntax of a perl program without actually running it.