I used the following procedure to upgrade from an old dev version of sitemap

- drush pm-disable xmlsitemap
- drush pm-uninstall xmlsitemap
- rm -Rf /sites/all/modules/xmlsitemap
- drush pm-download xmlsitemap
- at the web interface /admin/build/modules I enabled xmlsitemap, xmlsitemap engines, xmlsitemap node modules

From that moment I get the error:
Fatal error: Call to undefined function xmlsitemap_flag_sitemap() in /modules/xmlsitemap/xmlsitemap_user/xmlsitemap_user.install on line 24

I run drush updatedb and found out the it updates some tables. Weird because I removed the old version.
But still get the fatal error.

I tryed to change the weight in mysql system table as sugested in the http://drupal.org/node/503470#comment-1749622 issue. But without succes.
See screenshots attached

Any suggestions? Thanks in advance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

How is it that you have enabled the xmlsitemap_node module without enabling the dependent xmlsitemap module. You say in your statement that you enabled the main xmlsitemap module but your pictures say otherwise.

BTW, the 1.x series will be going away soon. Try the 2.x series.

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

Yeah that's really odd since that primary module should never be disabled and its required by everything else.

Try running the following SQL and then running update.php:
UPDATE system SET status = 1 WHERE type = 'module' AND name = 'xmlsitemap';

Dave Reid’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed due to lack of response.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.