Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
XMLSitemapGenerationException: Generated public://temp// -cut- /2.xml resulted in an empty file. in XMLSitemapWriter->endDocument() (linea 156 di /web/htdocs/www.******.it/home/modules/xmlsitemap/xmlsitemap.xmlsitemap.inc).
Comments
Comment #1
TheLioness22 CreditAttribution: TheLioness22 commentedI believe I have the same error:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=226&op=do StatusText: Internal Server Error ResponseText: XMLSitemapGenerationException: Generated public://xmlsitemap/NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM/2.xml resulted in an empty file. in XMLSitemapWriter->endDocument() (line 156 of {sitepath}/sites/all/modules/xmlsitemap/xmlsitemap.xmlsitemap.inc).
No matter what I try (I've been scouring the help docs today), I cannot get this module to generate a sitemap.
Comment #2
TheLioness22 CreditAttribution: TheLioness22 commentedUpdate: I uninstalled 7.x-2.0 and installed 7.x-2.0-rc2. The sitemap generated correctly. No errors. So some difference between the release candidate an the release caused it to malfunction and produce the given error.
Comment #3
adiatisSame problem here:
XMLSitemapGenerationException: Generated public://xmlsitemap/NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM/1.xml resulted in an empty file. in XMLSitemapWriter->endDocument() (Line 156 of /home/httpd/vhosts/[domainname]/httpdocs/sites/all/modules/xmlsitemap/xmlsitemap.xmlsitemap.inc).
Any Help?
Comment #4
adiatisProblem solved by https://www.drupal.org/node/2220707#comment-8988353 (comment #50)
Comment #5
gaele CreditAttribution: gaele commented#2220707: Error on sitemap generation: "An AJAX HTTP request terminated abnormally."