Profile with lots of modules

I have create a website with 80 modules and now I need to turn it to a profile. I have used profile wizard but it didn't create the cck content types right, so I am modifying it.
Right now I have a problem when I add to hook_profiles_modules the "og" module it returns:

Fatal error: Call to undefined function _block_rehash() in /home/escolcat/agrupaments/modules/og/og.install on line 89

So far I have added the following modules:

<?php
function agrupament_profile_modules() {
    return array(
       
'system',
       
'block',
       
'comment',
       
'filter',
       
'forum',
       
'menu',
       
'node',
//        'path',
       
'profile',
       
'search',
       
'taxonomy',
       
'upload',
       
'user',
       
'watchdog',
       
'jstools',
       
'event',
       
'date_api',
       
'views',
       
'color',
       
'content',
       
'content_copy',
       
'date',
       
'date_copy',
       
'dhtml_menu',
       
'emfield',
       
'emaudio',
       
'emimport',
       
'emthumb',
       
'basicevent',
       
'event_all_day',
       
'event_views',
       
'eventrepeat',
       
'fckeditor',
       
'fieldgroup',
       
'filter_default',
       
'flashnode',
       
'image_ncck',
       
'imce',
       
'jscalendar',
       
'locale',
       
'swftools',
       
'nodereference',
       
'number',
       
'oaliquid',
       
'views_rss',
       
'views_theme_wizard',
       
'views_ui',

       
'og',
    );
}
?>

I have already included CRUD, do I need to add anything else?

Login to post comments

solved

enboig - Wed, 2009-02-04 11:26

I just discovered I was using an old version of OG with a nasty bug.