What are you using to upload the files and edit? Two different software packs and the same error?
IMPORTANT SETTINGS:
Editing
1. only use UTF-8 character encoding (make sure your saving your files in this format consider it web code compliant and use it for everything).
2. make sure your saving no bom (byte-order mark, commonly used in text editors BUT not code compatible).
3. this also applies to file compare programs!
Uploading
Make sure your uploading with the right settings ftp and server must match, I've tried more ftp programs that you can find! Auto select can cause issues with some of them. Google filezilla get it, try it, learn it, use it. Fully works and great price!
also same fix for wordpress should work and may well be much faster than finding the error.
PM me for an email and I'll check your debug messages.