[development] Fatal error : install profiles and the use of hook_install

adrian rossouw adrian at bryght.com
Fri Nov 30 09:15:14 UTC 2007

On 30 Nov 2007, at 9:12 AM, Augustin (Beginner) wrote:

> But the profile documentation implies the contrary:
> http://drupal.org/node/67921
> the modules (including core required modules and their functions) are
> NOT yet included when running hook_profile_modules() (which calls
> hook_install()). The modules are included only at a later stage,
> hook_profile_final().
i ran into the same issue

i found out it's impossible to create a cck node type, and then add a  
node using the api using a _install

i ended up creating an install profile just to use _final().

was a long 3 hours of debugging.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20071130/8c60dc74/attachment.htm 

More information about the development mailing list