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

SamAMac’s picture

Title: XML Parsing Error Line Number 2, Column 1: » Linebreak at beginning of output
Assigned: Unassigned » SamAMac
Category: bug » support
Priority: Critical » Normal

I 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.

piotrdesign’s picture

Nope I didnt do anything.

gerhard killesreiter’s picture

Piotr: check your theme template it has a leading linebreak.

piotrdesign’s picture

Which file are you talking about? the page.tpl.php is fine.

deville’s picture

I have the same problem and my page.tpl.php file does not have any line spaces at the beginning:

http://www.concreteideas.com/gsitemap

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)
darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)