In the 2 previous instances of this problem is was being caused by corruption in some of the files. Specifically it was a problem with extra blank lines being added to the web assist helper files on upload.
this is normally caused by the FTP program being used to upload the files using the Binary transfer method instead of using the ASCII transfer method.