Installing only the facebook.api module and uninstalling it through the page admin/modules/uninstall gives this error:

Notice: Use of undefined constant FB_VAR_LANGUAGE_OVERRIDE - assumed 'FB_VAR_LANGUAGE_OVERRIDE' in fb_uninstall() (line 104 of /home/gezond/public_html/sites/all/modules/fb/fb.install).
Notice: Use of undefined constant FB_VAR_JS_SDK - assumed 'FB_VAR_JS_SDK' in fb_uninstall() (line 105 of /home/gezond/public_html/sites/all/modules/fb/fb.install).
Notice: Use of undefined constant FB_VAR_API_FILE - assumed 'FB_VAR_API_FILE' in fb_uninstall() (line 106 of /home/gezond/public_html/sites/all/modules/fb/fb.install).
Notice: Use of undefined constant FB_VAR_JS_CHANNEL - assumed 'FB_VAR_JS_CHANNEL' in fb_uninstall() (line 107 of /home/gezond/public_html/sites/all/modules/fb/fb.install).
Notice: Use of undefined constant FB_VAR_VERBOSE - assumed 'FB_VAR_VERBOSE' in fb_uninstall() (line 108 of /home/gezond/public_html/sites/all/modules/fb/fb.install).
Notice: Use of undefined constant FB_VAR_APIKEY - assumed 'FB_VAR_APIKEY' in fb_uninstall() (line 109 of /home/gezond/public_html/sites/all/modules/fb/fb.install).

Comments

Dave Cohen’s picture

Title: errors messages when installing and uninstalling faceboo.api » errors messages when installing and uninstalling fb.module

Thanks for the report. I guess Drupal is loading only fb.install and not fb.module. I will try to figure out a solution. (If anyone has a patch, please post it).

ht990332’s picture

Anything new on this?