When installing from a custom installation profile and returning 'date' as one of the elements in the array to be installed, the following error is reported by Drupal before the install completes:


Warning: Table 'system' doesn't exist query: SELECT filename FROM system WHERE name = 'jquery_update' AND type = 'module' in /includes/database.mysqli.inc on line 156

We have tracked this to the date.module itself and have even attempted installing its dependencies (which do not include jquery_update, by the way) prior to calling it. Only when 'date.module' is asked to be installed from the profile does it throw the error above. We cannot find the source of this error in the code. Has anyone seen this?

For point of reference, the function which calls this is below:

function myprofile_profile_modules(){ 
  return array(        
    'block',
    'color',
    'comment',
    'filter',
    'help',
    'menu',
    'node',
    'system',
    'taxonomy',
    'user',
    'watchdog',
    'path',
  
    //Contrib: CCK
    'content', 'fieldgroup', 'nodereference', 'number', 'text', 'optionwidgets', 'filefield', 'imagefield', 'imageapi', 'views',

    //Contrib: Other
    'token', 'pathauto', 'date_api', 'date_timezone', 'date', 'workflow_ng', 'calendar',
  );
}

Thanks.

Comments

karens’s picture

Date does not require or use jquery_update, so this makes no sense at all. I even did a search in case there was something somewhere I had forgotten about, but there is no reference to 'jquery_update' anywhere in Date or Calendar.

webkenny’s picture

Often times it appears things in Drupal don't make sense. No worries. Looks like its actually jquery_update causing the issue (perhaps another module's interaction) - I am moving this to their issue queue. Thanks Karen.

webkenny’s picture

Priority: Normal » Minor
Status: Active » Closed (won't fix)

Setting this to won't fix so its not lingering. Someone can moderate it out if needed.