I fixed my problem (actually fixed, not a workaround).
Previous files were files that I created myself. The files I was working on gave me this error that the Mac user gave me.
In Notepad ++, I found where it lists the EOL information and found out that they were encoded using the Mac EOL format, which, although it looked great in Notepad ++, did not work as soon as I downloaded it to my server (environment * nix). In Notepad ++, I converted EOL to Windows format (either UNIX format, but not on Mac format). This is under Edit → EOL Conversion.
source share