After enabling several of the fb modules I get this message: Fatal error: Call to undefined function fb_is_fbml_canvas() in /home/davidreagan/public_html/fbk/ctb/sites/all/modules/fb/fb_connect.module on line 353

I've tried both the recommended and dev versions.

I'd check the Drupal log, but I can't access anything on my site now.

I went through and followed all the steps in the readme and the documentation site.

Is there a way to disable modules without having access to the module admin page?

You can see the error at http://www.davidreagan.net/fbk/ctb

Is there something I can do, or do I just wait until you fix it?

Thanks!

Comments

oz_an’s picture

Man I cant believe. I was in the same situation right now and check out the http://drupal.org/node/158043. Basically you have to go to system table and find all modules about fb and set the status to '0'. Don't forget the clear the 'cache' table, i.e truncate it in phpmyadmin(if ur using it). Only cache not 'cache_blabla' tables.

Dave Cohen’s picture

Status: Active » Postponed (maintainer needs more info)

Can you explain how to reproduce the error? That function is defined in fb.module which should always be enabled if any of the other modules is enabled.

jerrac’s picture

I downloaded and installed fb to my sites/all/modules directory. Copied the facebook-platform into fb. Modified sites/default/settings.php the way fb/readme.txt said to. Then I loaded my site and went to the modules list. All the fb modules were listed correctly. I went through and checked all the ones I thought I would use, and clicked the button at the bottom of the page. That when the error showed up.

Sometime in that process, I also copied the fbml theme to the sites/all/themes directory and enabled it. I can't remember exactly when I did that though.

I'm going to go see if I can disable fb like oz_an said after I get some homework done. Maybe then I be able to figure out what exactly triggered the error.

jerrac’s picture

Component: Facebook Connect » Miscellaneous
Status: Postponed (maintainer needs more info) » Fixed

Ok, I was able to disable the modules via phpmyadmin.

I enabled all the fb modules except the depreciated ones, devel, views, and actions.

Strange, the error didn't reappear. I guess I should have just asked how to disable modules via phpmyadmin. I wonder what happened.

bcrawl’s picture

Hey, can you share how did you get to "disable modules via phpmyadmin"? I am having the same issue as initially mentioned in this thread.

My current setup. XAMP w/ PHP Version 5.3.1, Drupal Acquia 1.2.21 [Drupal 6.15 core]

Tried to Install Drupal for Facebook using the info here. http://drupal.org/project/fb

I got the WSOD. I had no option, so I deleted the fb folder, the fb platform from facebook and also reverted the settings.

Now I am staring at my phpmyadmin and I see few fb tables. Any ideas on how to proceed further?

bcrawl’s picture

Nevermind, found it.

phpmyadmin, under tables, system table, find the module and set the status to 0.

I still screwed up my installation. This module is PIA

Dave Cohen’s picture

less PIA if you RTFM

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.