I think you might have a corrupted script file with bad line endings. Many of the lines referenced are empty lines. That makes me think that the line endings for those lines or the lines just prior are incorrect.

Open the file in a text editor that allows you to set the line endings to new lines only (nl or \n). See if that helps.

What kind of server are you using and what software is it running? What is the web site?