I have a fairly large site with about 170,000 nodes and 1,500 taxonomy terms. I would really love to implement XML Sitemap to enhance my SEO, but unfortunately I have run into some bumps in the road.

I get the following errors on different browsers

Mozilla : XML Parse error
IE7 : Page cannot be displayed
IE6 : Blank Page
Opera : Junk Characters

This is consistent with zombiee08's post here
http://drupal.org/node/201644#comment-702575
I have opened a new issue because it came to my attention that we were hijacking someone else's thread (and also I haven't been able to solve the problem yet.)

I have read through other posts and tried to re-create the xmlsitemap folder, as well as change the permissions, and remove the / from the tmp folder in /admin/settings/file-system, but no dice yet. I also tried module weight, but that didn't work either. I only get these errors when I push this module to my live site. On my dev server the sitemap loads fine. I have a feeling that the script is timing out because of the volume of nodes, so it is not outputting valid XML which in turn is causing the XML parsing errors. Just my theory. Anybody have any idea on whats going on here, or a possible fix?

ash

Comments

ashtronaut’s picture

Status: Active » Closed (fixed)

I got this working finally. After checking my apache logs, I realized that there was a memory issue, so I went into my php.ini file and increased the memory_limit and max_execution_time, and now it works. :-)

ash

ashtronaut’s picture

double posted somehow. . . . .sorry

ash

ansari.wajid’s picture

Version: 5.x-1.4 » 6.x-1.1
Component: xmlsitemap_node » xmlsitemap.module
Status: Closed (fixed) » Active
Issue tags: +error, +XML parsing error, +xmlsitemap, +sitemap, +xmlerror, +system error

Hi,

I am getting below errors on different browsers when navigating to the sitemap file: http://chiprv.org/sitemap.xml. I have changed the memory_limit is 250 and max_execution_time:60, but with no results. 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'.

avpaderno’s picture

Version: 6.x-1.1 » 5.x-1.4
Component: xmlsitemap.module » xmlsitemap_node.module
Status: Active » Closed (fixed)
Issue tags: -error, -XML parsing error, -xmlsitemap, -sitemap, -xmlerror, -system error

I am restoring the metadata of this report.

@ansari.wajid: Please stop cross posting. You have already added a comment about this is a different issue; adding the same comment to different issues (which is called cross posting) can just be useful to have your account blocked.