I'm a novive Drupal user, so apologies if my explanatioins are a bit vague. Originally was using v6x-1.2 and all sitemaps were being generated ok (it is a multi-lingual site with a separate sitemap.xml for each of 5 languages). At some point though it stopped automatically updating when the cron was run.

Have tried updating to the latest version 6.x-2.x-dev as there were reported issues with the older version (and ran update.php); however the sitemaps still refuse to update. If I try and do a manual 'rebuild links', it gets part way through the progress and then I get the following error which means nothing to me:

An error has occurred.
Please continue to the error page

An HTTP error 500 occurred. /batch?id=57&op=do

The error page then reports:

One or more problems were detected with your XML sitemap configuration:
•The XML cached files are out of date and need to be regenerated. You can run cron manually to regenerate the sitemap files.
Check the status report for more information.

I would like to delete all the existing sitemaps to try rebuilding from scratch; but there doesn't appear to be a delete option?

Comments

shorey’s picture

Category: bug » support

Further to this, I have tried completely removing xmlsitemap module, removing all settings from the database, clearing caches and then reinstalling. However I am still getting the same problem. The following is appearing in the log file:

[27-Mar-2013 12:42:26 Europe/London] PHP Fatal error: Uncaught exception 'XMLSitemapGenerationException' with message 'Could not open file sites/default/files/xmlsitemap/2d8ZfIfLFCC0V-PbcDKUTb1Wk22XgjzJ6f-b16CFlPE/1.xml for writing.' in E:\Web Sites\wwwroot\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc:47
Stack trace:
#0 E:\Web Sites\wwwroot\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc(36): XMLSitemapWriter->openUri('sites/default/f...')
#1 E:\Web Sites\wwwroot\sites\all\modules\xmlsitemap\xmlsitemap.generate.inc(152): XMLSitemapWriter->__construct(Object(stdClass), 1)
#2 E:\Web Sites\wwwroot\sites\all\modules\xmlsitemap\xmlsitemap.generate.inc(338): xmlsitemap_generate_page(Object(stdClass), 1)
#3 [internal function]: xmlsitemap_regenerate_batch_generate('2d8ZfIfLFCC0V-P...', Array)
#4 E:\Web Sites\wwwroot\includes\batch.inc(190): call_user_func_array('xmlsitemap_rege...', Array)
#5 E:\Web Sites\wwwroot\includes\batch.inc(106): _batch_p in E:\Web Sites\wwwroot\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc on line 47

which seems to imply it is a permissions issue; however as far as I can tell the permissions are all correct. Indeed, if I manually create a '1.xml' file in the specified folder, the 'rebuild links' function successfully deletes this file before the error occurs.

Anonymous’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Windows ACL issue?? Newer versions of Windows have become wacky with permissions issues when ACL is being used.

shorey’s picture

Don't think it is ACL related, the IUSR and Network Service both have full access rights to the xmlsitemap folder and subfolders...