The category_init() function assumes that the module is installed in the modules/ directory.

This causes errors about not finding category.inc if it is installed in the recommended path of sites/sitename/modules.

It should be as follows:

function category_init() {
  include drupal_get_path('module', 'category') . '/category.inc';
}

Comments

Jaza’s picture

Status: Active » Fixed

Committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)