I've been having a problem with the sitemap generator not writing the XML file, but it does write everything else. It writes urllist.txt and ror.xml but the sitemap.xml is still empty.

Here are what the permissions are currently set to:

-rw-r--r-- 1 apache   apache   2.4K Jun 12 12:08 ror.xml
-rw-r--r-- 1 apache   apache   3.2K Jun 12 12:08 sitemap.html
-rw-rw-rw- 1 apache   apache      0 Jun 12 12:08 sitemap.xml
-rw-rw-rw- 1 apache   apache    239 Jun 12 12:08 urllist.txt

I've tried changing sitemap.xml to 777, but it makes no difference.

Any ideas what the problem is and how to solve it?
Re: Generator not writing sitemap.xml file but is writing others
« Reply #1 on: June 13, 2012, 08:12:35 AM »
Hello,

please check that path to sitemap.xml is specified correctly in generator configuration.
Re: Generator not writing sitemap.xml file but is writing others
« Reply #2 on: June 13, 2012, 07:21:16 PM »
The path is correct. It's the same as the html sitemap, but with XML at the end. I've pasted the path at the command line and it opens the empty file.

It's very weird because it writes the HTML, ROR and url list files, but not the sitemap file.

The current install is fresh. I even tried it without changing anything and it didn't work. I've tried it without first creating the sitemap.xml file (it created an empty file) and after creating the blank file.

Any ideas?
Re: Generator not writing sitemap.xml file but is writing others
« Reply #3 on: June 14, 2012, 01:52:22 PM »
Hello,

sitemap.xml cannot be located in generator/data/ folder (that's the place where backup copy is stored), you should store it in a different folder.
Re: Generator not writing sitemap.xml file but is writing others
« Reply #4 on: June 14, 2012, 05:10:06 PM »
Aha! Thank you. That fixed it.