Hi,
I probably did a stupid thing and loaded the 2.x-dev version from scratch into a new site. Activating the module did not create the main xmlsitemap table, so I got loads of error messages. I'm now going to try the beta version :-)
Hope this helps, cause this sounds like a really useful module and I really want to try it out.
Comments
Comment #1
dave reidWait, did you have any previous versions of XML sitemap used at any time on this site? Because if you did and they weren't properly uninstalled with admin/build/modules/uninstall, the install routines aren't going to work properly. The 6.x-2.x works just fine if it is truly a clean install.
Comment #2
avpadernoWhat does "loaded from scratch" mean?
Comment #3
alpirrie commentedIt was a clean install of a new site - drupal 6.12 (at the time). I just added the dev package into sites/all/modules and ticked the 'XML sitemap' and 'XML sitemap node' options in admin/build/modules. I then kept seeing loads of database errors saying that the xmlsitemap table was missing - especially when I ran update.php.
The beta installed ok, but the node sitemap is throwing the following error on cron:
Looking at the 'xmlsitemap_node' table in my database the column it's probably referring to is mid. Should I change the column name to nid, or the line in xmlsitemap_node.module?
Cheers)
Comment #4
alpirrie commentedI changed the column 'mid' to 'nid' and ran cron. I then received errors about duplicate pdata values. I think my xmlsitemap_node table is messed up. Here's the table structure. Can you please let me know what it's supposed to be....
Thanks so much!
Comment #5
alpirrie commentedI uninstalled the module and reloaded it and the table is fine. I hadn't uninstalled the dev version before installing the beta version, so that's probably how the table got its extra fields...
It's now working fine. Great module. Thanks.
Comment #6
dave reidIf you had an xmlsitemap_node table, this was definately not a clean install. That table is from the 6.x-1.x versions or before. It has never been in the 6.x-2.x version and neither has the column mid. I recommend that you disable all the XML sitemap modules, then uninstall them at admin/build/modules/uninstall, and then go in your database and make sure there are no tables that start with xmlsitemap.
Comment #7
avpadernoI agree; pdata was one of the fields I used in my code, which was not the 6.x-2 branch.
Comment #8
dave reidOriginal problem has been solved since this wasn't a fresh install, so marking as fixed.