Closed (fixed)
Project:
DART
Version:
7.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 10:17 UTC
Updated:
18 Jul 2011 at 13:31 UTC
On a fresh install of a Drupal site with DART in the installation profile I get the following error:
Fatal error: Call to undefined function libraries_get_path() in /vagrant/repos/dennis_distro_7/profiles/dennis_distro/modules/contrib/dart/dart.install on line 91
This is not an issue with libraries as the module is present (2.x) and contains the function required. Are modules not loaded when hook_requirements is called?
Comments
Comment #1
rickvug commentedhttp://engineeredweb.com/blog/10/5/3-tips-using-external-libraries-drupal is a blog post on the topic. Also see http://drupal.org/node/1092262 and http://drupal.org/node/1064298.
Comment #2
rickvug commentedAdding
module_load_include('module', 'libraries');at the top of dart_requirements() fixes the problem.Comment #3
bleen commentedYikes! ... Commited #2 to 6.x & 7.x