-
- 15 Posts
Hello, guys
Today i tried to create the sitemap.xml file via GoogleSiteMap snippet.
Snippet works good, generates the xml information, but whole xml document doesnt work, coz all code start from second line and show error.
I checked all documents and find that all them starts useful code from second line, but first is empty.
How i could solve the problem of empty first line and up code?
Thanks for future
If you manually edited your config file, make sure it does not have any extra spaces or BOM characters before the opening or after the closing php tag.
-
- 24,544 Posts
Do you have any output modifiers in the template (especially on the *content tag) or any JavaScript that manipulates the content?
Check the validity of the HTML on your pages here:
http://validator.w3.org/