Hi,
after installing the latest 3.0 version I got the following fatal error, when I try to add an app!
PHP Fatal error: Call to undefined function fb_canvas_admin_form_alter() in /home/.../sites/mydomain/sites/all/modules/fb/fb_canvas.module on line 267
FB PHP-SDK v2.1.2 is also installed, and all includes are done to page.tpl.php and settings.php!
Regards,
Tobi
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | fb-init-fix.diff | 1.28 KB | Dave Cohen |
Comments
Comment #1
Dave Cohen commentedWeird. Do you have the file modules/fb/fb_canvas.admin.inc?
Comment #2
DerTobi75 commentedYes, I have the file fb_canvas.admin.inc!
Comment #3
DerTobi75 commentedI nearly tried everything, uninstalled all modules, installed them again, double checked the settings.php!
Do not know what else to do. I also cannot use the User Management, when following the link I got:
Call to undefined function fb_admin_get_app_options() in /home/dertobi/sites/mysite/sites/all/modules/fb/fb_user.admin.inc on line 19, referer: http://mydomain/admin/build/fb
Regards,
Tobi
Comment #4
paniolo commentedI am having the exact same problem! Doing a fresh install of dev 3.0, enabled the modules, edited settings.php, and installed FB PHP-SDK. When I try to add app i get: Fatal error: Call to undefined function fb_tab_admin_form_alter() in /home/sitename/public_html/sites/all/modules/fb/fb_tab.module on line 45
Actually all of the tabs in facebook applications produce a similar error - Fatal error: Call to undefined function....
Thanks for any help!
Comment #5
Dave Cohen commentedWhat are your drupal cache settings? Maybe refresh all caches?
Comment #6
th.sigit commentedHello Dave and all:
below are the links that generates error and the error messages that appeared. I must revert back (from my local backup) to the older dev module (2010-Aug-04) to get the proper functionality. For a note, I have flushed the cache and even uninstall and update.php for the newer dev module, before revert back to the backup code.
Regards, and thanks for all the efforts!
Comment #7
paniolo commentedCache is disabled on my site, tried refreshing as well. Same errors as listed above.
Comment #8
Dave Cohen commentedI see where the problem is now. Working on a fix.
Comment #9
Dave Cohen commentedJust checked in this fix.
Comment #10
paniolo commentedThat worked, thanks so much Dave!
Comment #11
th.sigit commentedthank you, and regards,,
Comment #12
DerTobi75 commentedGreat, will check this out, when I am back at the office next monday, regards, Tobi
Comment #14
D.H. commentedWe had the same errors on our installation and fixed the issues with "fb_admin_get_app_options()" in fb_connect.admin.inc and fb_user.admin.inc by using module_load_include to get the content of fb_admin.inc. Somehow the "sync props" menu callback was failing too and generated the following output:
There was a missing file attribute for FB_PATH_ADMIN_APPS . '/%fb/fb/set_props:
OLD:
NEW:
Comment #15
Dave Cohen commentedThanks that looks correct.
Comment #16
Dave Cohen commentedSomewhere along the lines, I checked in this fix. neglected to update this issue.