Posted by MWildermuth on November 12, 2009 at 6:28am
Jump to:
| Project: | XML sitemap |
| Version: | 6.x-2.0-unstable5 |
| Component: | Other |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi,
I have been using xmlsitemap module for sometime, and it usually works, so I usually don't check my google webmaster. But today I noticed that google claims that their are errors in my xmlsitemap.
Google webmaster reports this:
Line:
6
Missing XML tag
This required tag is missing. Please add it and resubmit.
Parent tag: urlset
Tag: url
Problem detected on: Nov 11, 2009
Does anybody know whats going on here?
Thanks in advance.
Mike
Comments
#1
I've also noticed this same issue today. A client reported saying Webmaster reported errors, looked into the cache files and found the file didn't look complete and was missing the closing </urlset>.
Due to limitations of this module on large sites we've had to modify it and set a schedule task to run through and update the files every 15 minutes and only a small amount at a time or else it was dying. So I'm not sure if the problem is nodes associated to the xml file have changed which require the module to re-write the file and it just doesn't complete this action properly or not.
I've had to in the mean time manually edit the files to put the </urlset> on it.
[Edited by KiamLaLuno to show the XML tags that were not appearing]
#2
We are encouraging the use of the latest so-called ``alpha'' releases of 6.x-2.0 for larger sites. It is more optimized and has been rewritten from the start with optimization in mind. Please consider using the pre-release version 2 product to help resolve your issue.
#3
Thanks for the fast responses.
I updated my xmlsitemap module to 6.x-2.0 and now I see an xmlsitemap is actually being built which is better, but now google webmaster tools says:
Errors -
We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.
Any ideas?
Thanks in advance again.
#4
Can you share the link to your site?
#5
My site is:
http://whsale.com
the xmlsitemap is:
http://www.whsale.com/sitemap.xml
Thanks again for any help in advance.
Mike
#6
Odd...that worked just fine for me. It's very possible Google hasn't actually fetched your new sitemap.xml yet and is still displaying the 'errors' from the old one or from when you were switching versions. Maybe give it a day or so and report back if it's still a problem?
#7
It finally took this morning. So everything seems to be working now. Google recognized and accepted my sitemap through Google Webmaster.
Thanks for all the help. I love Drupal and it's developers!
Mike
#8
#9
Good to hear. We'll just leave this as fixed incase others have this problem and so they can find the issue.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
Missing sitemap data appears to be a common issue. The last comments here first suggested using a beta that is now a released version, and that apparently by magic the person's sitemap populated over night. I am new to Drupal, but experienced in other CMS products. The product installation went smoothly, but like others posting here, I am having the same issue.
Google reports my xml tag is missing. Browsing with IE6 & IE8 shows 2 lines, the encoding line and the schema line. Firefox shows just an open and close urlset tags.
Nodes are in the database table.
update.php has been run
cron is running like clockwork
I am apparently missing something ... but not quite sure where else to look. The URL is http://www.30fold.com. I am hoping I just stupidly forgot a check box or dependency.
#12
@yboti: Make sure you're using the latest version of the module (6.x-1.1).
#13
Yes. Just downloaded and installed, brand spakin new xmlsitemap-6.x-1.1.tar.
#14
Is there some type of diagnostic procedure here. Would be great to have this working. I have the latest version installed, and actually reinstalled it. Nodes are showing up in the database, but the sitemap still appears essentially blank. Per the 1/19 message,
"Google reports my xml tag is missing. Browsing with IE6 & IE8 shows 2 lines, the encoding line and the schema line. Firefox shows just an open and close urlset tags."
#15
@yboti: Link to your sitemap.xml and re-confirm which module version you are using.
#16
Thank you, Dave.
Just upgraded to the newly released xmlsitemap-6.x-1.2.tar.gz. Updated and did not see a change. The sitemap is at http://www.30fold.com/sitemap.xml.
#17
@yboti: Most likely you have an actual sitemap.xml file sitting your Drupal install's root folder. If we use a path that allows Drupal to serve the request, we get http://www.30fold.com/?q=sitemap.xml. Since Apache will always serve a file if it exists, the web server doesn't give Drupal a chance to intercept the request.
Check your admin/reports/status page and let me know if a 'Existing sitemap.xml file found.' error is on there. Remove the file, and re-open if the problem continues (and I'm confident it won't). :)
#18
Automatically closed -- issue fixed for 2 weeks with no activity.
#19
I have the same problem and (I believe) it is not covered by the above solutions but I am ready to be proved wrong.
I am running xml sitemap 6.x-1.2 with the xml sitemap engines and xml sitemap nodes enabled and have recently updated all my drupal modules (though the problem pre-dates this). I do not have Clean URLs enabled as I have a Windows-based host and have not been able to get it to work. I am using URL Alias (if that has any effect).
The site is small (less that 50 nodes) and have tried generating the sitemap with and without Cron
I have looked for an existing sitemaps.xml file and cannot find one. The link the my site map is: http://www.berksoft.co.uk/index.php?q=sitemap.xml
#20
@MWildermuth If the issue is "closed" you should always open a new one. Also give the URL to your sitemap in the new issue.
#21
I found error messages in the site log saying that the XMLsitemep table could not be found in the database. I resolved the problem by uninstalling and re-installing the XML sitemap module.