Check the permissions of the file is correct otherwise it could be the code was injected.
Take a look at this:
http://ag.arizona.edu/ecat/web/permissions.html
There are 3 main permissions that you have to setup for the files:
read from the file
write to the file
execute the file
Here is a summary for permissions