Project:XML sitemap
Version:7.x-2.0-beta3
Component:xmlsitemap.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

Hi,

I've been trying to get a sitemap set up for a website that was just recently launched. Once I installed the module and set links, I visited the sitemap page only to see it was blank (see here: http://buterbaughandhandlin.com/sitemap.xml). When I inspect the page, the only thing visible is "xml-stylesheet". Is the normally the way it is supposed to be?

Any help is appreciated!

Thanks!

Comments

#1

Category:bug report» support request
Status:active» postponed (maintainer needs more info)

Did you go to the content type administration pages and enable xmlsitemap for each type you want included in the sitemap? Do you have your crontab setup?

#2

Oops.

#3

I have done the former. On the XML Sitemap configuration page, it says I have 18 links, and 1 page included. So I assumed nothing was wrong with the inclusion of the links. What do you mean about crontab? I have ran cron, updated the cached files for the sitemap, and rebuilt the links.

#4

I have exactly the same problem, tried to reinstall all after cleaning the cach and the files, and my xml site map has always only one link, but the "human file" seems good... prehaps it's because i realize my works in localhost (wamp installation) before export my work on my real servor? thanks for any help

#5

Did you find a solution, ninonoscar? Since apparently nobody else does..

#8

For some reason your XSL file (http://buterbaughandhandlin.com/sitemap.xsl) is being output with an empty line at the beginning of it, which fails XML validation. I cannot confirm the problem with the latest code.

#9

i'm having the same issue, and my xsl file has an empty first line also.

http://www.travellingsnail.com/sitemap.xml

Also, lots of jquery errors.

#10

i disabled the stylesheet, and it works fine.

This is still a bug though.

#11

You need to find the problem in your environment that is causing the empty line. We cannot reproduce the issue.

#12

Thanks - where would I start? by turning modules off and on? Or is there a better way to debug issues like this?

#13

If you have a development version, turn them off and on and emptying cache between each iteration may be good enough. Using regular expressions to search through the files in you modules directory may be another method.

#14

sitemap.xml - blank page
sitemap.xsl

This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

BLANK LINE
<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright (c) 2010  Dave Reid <http://drupal.org/user/53892>

#15

I am facing the same issue from 2-3 days , Need help....

Thank you in advanced.

nobody click here