Closed (fixed)
Project:
Google Sitemap
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Oct 2006 at 19:30 UTC
Updated:
7 Oct 2007 at 19:48 UTC
I get this error here: http://www.piotrpix.com/gsitemap
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.piotrpix.com/gsitemap
Line Number 2, Column 1:
Comments
Comment #1
SamAMac commentedI downloaded your sitemap, and it had an extra line before the output started. This is what the error message is talking about. However, the content type was correct, so I am a bit puzzled as to how the linebreak got in there. It might be a strange output buffering problem. But first I want to confirm that you didn't make any modifications to the module itself.
Comment #2
piotrdesign commentedNope I didnt do anything.
Comment #3
gerhard killesreiter commentedPiotr: check your theme template it has a leading linebreak.
Comment #4
piotrdesign commentedWhich file are you talking about? the page.tpl.php is fine.
Comment #5
deville commentedI have the same problem and my page.tpl.php file does not have any line spaces at the beginning:
http://www.concreteideas.com/gsitemap
Comment #6
darren ohComment #7
darren oh