Closed (fixed)
Project:
XML sitemap
Version:
6.x-1.1
Component:
xmlsitemap.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2009 at 12:42 UTC
Updated:
10 Feb 2010 at 00:20 UTC
Jump to comment: Most recent
Comments
Comment #1
dave reidI just went to http://ashladan.be/sitemap.xml and it looked just fine. There were no NULL strings or anything out of the usual.
Comment #2
avpadernoThe content I can see is
Comment #3
xmacinfoI've just upgraded my site to b6. It's so nice to see that the module is back up again in force.
As for demon site, I did look at your generated sitemap and it's working perfectly.
A browser may report an error, however, it does not mean that the sitemap have errors, it just mean that your browser does not know what to do with the file.
Try Firefox, it should let you see the XML tree.
So I suspect this is a browser issue.
Comment #4
avpadernoThe strange thing is the
<url>(and all those NULLs) that appears after the</sitemapindex>, which should be the final tag.It doesn't seem a browser issue.
Comment #5
demon326 commentedstrange, cause yesterday it was giving that error, and google webmastertools also reported that it could not read the sitemap... but now it is working fine again.. cause the problem looks fixed you can close this issue.
Comment #6
Anonymous (not verified) commentedI'm glad to hear it is working without needing modification.
Comment #8
ansari.wajid commentedHi,
I am getting below errors on different browsers when navigating to the sitemap file: http://chiprv.org/sitemap.xml. Please let me know what might be the problem. Thanks
Error details on Fire Fox:
==================
XML Parsing Error: not well-formed
Location: http://chiprv.org/sitemap.xml
Line Number 58, Column 9:
<ul ="links primary-links"><li class="menu-166 first"><a href="/about-us" title="About Us">About Us</a></li>
--------^
Error details for IE:
===============
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
System error: -2146697204. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'.
Comment #9
avpadernoLooking at http://chiprv.org/sitemap.xml, I don't see the output I would get from XML sitemap.
Are you sure you are not using another module that changes the output of XML sitemap? Differently, I could not explain why the XML output from XML sitemap became the XHTML output I see when I visit the link.
Comment #10
avpadernoI am removing the issue tags.
Comment #11
Anonymous (not verified) commented@ansari.wajid: You definitely have something else wrong with your site. The first thing I saw was a PNF error and then this page comes up. Also if you look at the source of your page there is an embedded php error stating "Filename cannot be empty in /var/www/html/includes/file.inc on line 817." If you have a static sitemap.xml file in your document root you need to remove it. Also a list of enabled contrib modules will be needed for further assistance.
Comment #12
dave reidAlso make sure that the 'xmlsitemap' directory in your site's files directory can be read and written to by your webserver.
Comment #13
ansari.wajid commentedThanks for all your help and information for not posting this issue on multiple threads. I am new to drupal and dont know all this guidelines. I will be posting my request on this thread only.
I have two domains pointing to one site, I am using xmlsitemap version 6.x-1.1 for generating sitemap.xml file. I have enabled this module through this domain: http://chiprv.org, but it is giving me error, check this http://chiprv.org/sitemap.xml, At the same time it is working fine on this domain http://chiprv.dev.triocircle.com/sitemap.xml. Please help me out to resolve this issue. Thanks
Comment #14
avpadernoAs already reported by earnie, a list of installed modules would help. It seems that you are using also Site map, but it is not possible to know what else you have installed.
I also found that a theme is including the jQuery 1.2.6 file, which should not be included as jQuery is already included by Drupal core code.
Comment #15
dave reidWhat is probably happening is the XML is being generated for the domain http://chiprv.dev.triocircle.com. When the path http://chiprv.com loads, it can't find any generated data for the domain http://chiprv.com, so it returns a 404. I bet if you run cron, or manually generate the files using your normal domain, it will pick up the files.
Comment #16
dave reidVerify this by letting us know what's in the contents of the sites/chiprv.dev.triocircle.com/files directory, since you're using that same files directory for both sites, which is a configuration that is known to not work with XML sitemap.
Comment #17
dave reidComment #18
dave reidNo follow-up in the last couple months, so marking as fixed.