xmlsitemap_requirements calls drupal_get_path(), which doesn't work during the install phase because the system table doesn't exist yet. I haven't tried this in the 2.x branch but I did notice there are no longer calls to drupal_get_path() in the install file.


Warning: Table 'profile.system' doesn't exist query: SELECT filename FROM system WHERE name = 'xmlsitemap' AND type = 'module' in /Users/dylan/Sites/profile/drupal/includes/database.mysqli.inc on line 128
Call Stack
# Time Memory Function Location
1 0.0015 94184 {main}( ) ../install.php:0
2 0.0019 158352 install_main( ) ../install.php:1174
3 0.1751 1206376 install_check_requirements( ???, ??? ) ../install.php:109
4 0.1751 1209472 drupal_check_profile( ??? ) ../install.php:914
5 4.3338 3965192 module_invoke( ???, ???, ??? ) ../install.inc:692
6 4.3338 3966064 call_user_func_array ( ???, ??? ) ../module.inc:462
7 4.3338 3966224 xmlsitemap_requirements( ??? ) ../module.inc:0
8 4.3338 3967584 drupal_get_path( ???, ??? ) ../xmlsitemap.install:583
9 4.3339 3967904 drupal_get_filename( ???, ???, ??? ) ../common.inc:1707
10 4.3339 3970640 db_query( ???, ???, ??? ) ../bootstrap.inc:440
11 4.3341 3973568 _db_query( ???, ??? ) ../database.mysql-common.inc:42
12 4.3345 3977128 trigger_error ( ???, ??? ) ../database.mysqli.inc:128

CommentFileSizeAuthor
xmlsitemap_hook_requirements.patch1.18 KBgrendzy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Needs review » Fixed

Committed to CVS. Thanks!
http://drupal.org/cvs?commit=336092

Status: Fixed » Closed (fixed)

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