Page 1 of 1

xml error blank line in php

Posted: 2020-02-12 13:47
by pops57
Hello'
I am a novice and just learning coding. I have a genealogy site where I'm trying to run something called a Simile Timeline. It works for other users of the product (it's called TNG Genealogy software). I have gotten responses in the forum for that software that something in my code is creating a blank line at the beginning of the php file. I have uploaded fresh copies of all files involved such that my site's code is identical (as far as we can tell) to other users running the same things. So, is it possible that any of the recent upgrades to Filezilla would be doing something that would force a blank line at the beginning of the code?
Thanks,
Mike

Re: xml error blank line in php

Posted: 2020-02-13 08:36
by botg
FileZilla does not insert linebreaks at the beginning of files.

Are you by chance using an editor that inserts a byte order mark (BOM) at the beginning of files? PHP doesn't like those.