When using the drupal login block, and click in the connect through facebook button, after signing into my facebook account via the popup window, I get the following error:

Fatal error: Call to undefined function drupal_add_js() in /home/nhcasela/public_html/modules/fbconnect/fbconnect.module on line 1196

I have also had some issues with getting stuck in a loop when trying to create a new account using facebook. I can get to the screen that asks for me to import my profile information from facebook, but no further. When I hit submit to import the info, the same page loads in the screen. Then, when I try to visit any other page on my website, it gets stuck on the import screen. I have had to clear my cache and start over.

I've read other posts suggesting disabling the cache in the performance settings, and I've done that, but it hasn't seemed to help.

Comments

chrisbuck’s picture

Quick update: I tried to disable the import setting in the fb connect module to see if that changed anything. When I did, and tried to create a new user registration, the site gets stuck on the "Create a new account" page.

chrisbuck’s picture

Category: support » bug
Priority: Normal » Critical

Final update. I updated to the latest version of Drupal 5, just in case, but the same Fatal Error pops up. Only now, after opting to sign in using the popup window, the screen goes straight to the error. It no longer asks to import any settings. I'm done tinkering with this. I really hope you can help.

chrisbuck’s picture

Assigned: chrisbuck » Unassigned
Category: bug » support
drutube’s picture

I get the exact same with 5.x-1.0-beta1 .

I'll try beta 2.

chrisbuck’s picture

Title: Fatal Error: Call to undefined function. » Error when registering new users

As far as I can tell Beta 2 seems to fix the Fatal Error (hence the change of title), but the difficulties registering new users through Facebook still remains. The problem goes like this:

* You properly install and enable the module, making sure to upload the Facebook PHP and edit page.tpl.
* You log into your website as the administrator, and go to the "My Account" page. You then successfully link your facebook account to your administrator profile. No problem so far.
* You use the module-provided block to send an invite to a facebook friend of yours.
* Your facebook friend accepts the invite via facebook and is directed to the main page of your website, where they click the button, "Connect With Facebook."
* They are then redirected to a screen asking to import their facebook settings. They click submit.
* They are then redirected to a screen to create a new account by entering a screen name and email address. Here's the problem: They click submit but are then redirected back to the import facebook settings screen.

The bottom line is that the registration process never fully completes. I have workflow-ng set up to email me when a new user registers, so I get an email, but I have been able to confirm that the new user doesn't get their own welcome email through the basic drupal registration module. They never get log in credentials.

chrisbuck’s picture

Version: 5.x-1.0-beta1 » 5.x-1.0-beta2
aerodog’s picture

subscribing

funana’s picture

subscribing

chrisbuck’s picture

subscribing

vectoroc’s picture

Status: Active » Closed (won't fix)

Sorry. 5.x version is no longer supported.