I have the script installed on two sites. The first, MYSITE.com crawls properly, writes properly, pings properly, and Google likes the map (kudos!).
The second, a subdomain, MYSITE2.com has a separate install. I can reach it properly from MYSITE2.COM/THEDIRECTORY, It writes properly (to .../ MYSITE/MYSITE2/MAP) but refuses to crawl beyond the second page, even though it lists the 4 pages it finds, which in turn branch to further pages. This site is _tiny_, only 46 pages, and only to a depth of 3 (index - mainpages (3 of them) - in turn to the rest). The config. looks identical to the main site (except directories, of course). Both are on a dedicated server, no complaints about resources, even on the large MYSITE, and I have tried removing all limitations to crawling depth, memory use, etc.