I'm trying install xmlsitemap modules, but I'm getting such an error:

Fatal error: Call to undefined function xmlsitemap_flag_sitemap() in /modules/xmlsitemap/xmlsitemap_user/xmlsitemap_user.install on line 24

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

Which Drupal version and which modules were you installing?

If you install the xmlsitemap first and then go back and install xmlsitemap_user do you still get this error?

v8powerage’s picture

I have newest Drupal 6 version and I tried install 6.x-1.0-beta6 it doesn't matter which order, I'm getting error anyway, and then I can't even uninstall xmlsitemap modules… the checkbox is inactive and I can't uncheck it.

Anonymous’s picture

Check the weights of the modules in the system table.

SELECT * FROM `system` WHERE `name` LIKE 'xmlsitemap%'

The xmlsitemap module needs to be weighted before the other xmlsitemap modules but after the node, taxonomy and user modules.

avpaderno’s picture

What does "weighted before" mean? I can understand "to have a lower weight", but what does exactly mean the "the xmlsitemap module needs to be weighted before the other xmlsitemap modules but after the node, taxonomy and user modules" sentence?

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Fixed

@KiamLaLuna: 1 comes before 2 and after 0. That is what "weighted before" means. If you don't understand weights in Drupal then you need to research Drupal's documentation or at least look at the table schema information for the system table.

I have not heard from the OP and I've released RC1 so closing as fixed.

avpaderno’s picture

I know how Drupal weight works; I don't simply find any reference to "to be weighted lower" in the dictionary. I think it's quitely different.

dave reid’s picture

Anonymous’s picture

I didn't recognize you Kiam with your new look.

avpaderno’s picture

Yes, it is still me.
It would be easier to know it is me if the signatures would be used in Drupal.org, as mine would say "kiam la luno renkontas la sunon" (and it did say so from before I changed my Drupal.org user name).

Status: Fixed » Closed (fixed)

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