Closed (duplicate)
Project:
Drupal for Facebook
Version:
6.x-3.0-rc7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 00:51 UTC
Updated:
10 Feb 2011 at 19:35 UTC
It looks like this line is where you introduce the "FB_SETTINGS_TYPE_PROFILE)" function, I don't see it elsewhere in the fb.module file. My upgrade simply fails with a fatal error "Fatal error: Call to undefined function fb_settings() in..."
Did I miss a config step where I should have added this function somewhere? I was working on the previous release no problem. Worked great.
This is the snippet that contains line 598:
function fb_is_tab() {
global $_fb;
if (fb_settings(FB_SETTINGS_TYPE) == FB_SETTINGS_TYPE_PROFILE) {
return TRUE;
}
elseif (isset($_REQUEST['fb_sig_in_profile_tab']) &&
$_REQUEST['fb_sig_in_profile_tab']) {
// Old way, no migrations enabled.
return TRUE;
}
return FALSE;
Comments
Comment #1
Dave Cohen commented#1011912: undefined function fb_settings() when running update.php or installed from an install profile.
It would be helpful if someone could tell me which update hook is running when this happens.