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.
Comment | File | Size | Author |
---|---|---|---|
xmlsitemap-mysql-query.png | 16.79 KB | Jurjen de Vries | |
xmlsitemap-modulelist.png | 16.95 KB | Jurjen de Vries |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedHow 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.
Comment #2
Dave ReidYeah 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';
Comment #3
Dave ReidMarking as fixed due to lack of response.