On Wed, 21 Aug 2002 09:51:09 +0100, [EMAIL PROTECTED] (Mat
Harris) wrote:

>why, when i try to run one of my cgi scripts do i get a "bad
>interpreter, file not found" error? my shebang line is correct and works
>for every other perl script i run on that server. btw the script in
>question is the ikonboard forum solution from www.ikonboard.com. does
>anyone know of any bugs with it or another reason why i get this
>apparently incorrect error.

1. you somehow got a space in your shebang line, sometimes they
   look like #! /usr/bin/perl  instead of #!/usr/bin/perl
2. you need to do a dos2unix conversion on the file

If that dosn't work, post the top 50 lines of the file, let everyone
look.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to