I got basic authentication working, I've linked the accounts (despite the popup disappears in firefox) I couldn't invite friends.

I found the following message in the logs:

REFERRER /fbconnect/invite/friends?destination=fbconnect/register/create
MESSAGE	Authentication to server failed!

and

Exception thrown while using fbconnect_get_connected_friends: Requires user session
after Drupal finishes creating the session.

and

Notice: Undefined variable: rows in fbconnect_get_connected_friends() (line 193 of modules/fbconnect/fbconnect_invite/fbconnect_invite.module).

Comments

Yorgg’s picture

Issue summary: View changes

updating issue

astutonet’s picture

I also have this issue in dev version.

The error occurs when I try to create a new account with the FBConnect module. Me and users can see a message on the site. There are also records in the log.

In addition, every time the user logs in with their Facebook account, the following error message is displayed:

• Requires user session
• Notice: Undefined variable: rows in fbconnect_get_connected_friends() (line 193 of /home/storage/c/13/99/mysite/public_html/sites/all/modules/fbconnect/fbconnect_invite/fbconnect_invite.module).

Since we're running this module on a site that uses the Commerce module, it might not be safe.

According to my research, this error exists since version 6.x (#1560264: Requires user session; couldn't connect to host; SSL connection timeout;).

@staminna, you managed to solve your issue?

Any help will be appreciated.

Tks.

astutonet’s picture

Title: inviting friends » FBConnect: Undefined variable in "fbconnect_invite.module" file
Version: 7.x-2.0-beta4 » 7.x-2.x-dev
Category: Support request » Bug report
Issue summary: View changes
Priority: Normal » Critical
Issue tags: +session, +fbConnect, +undefined variable
Yorgg’s picture

@astutonet: This is fixed in the latest dev.
Closing this.

Yorgg’s picture

Status: Active » Closed (fixed)
Yorgg’s picture

Status: Closed (fixed) » Active

spoke too soon.
The notice message is gone in dev but the "Requires user session" occasionally shows up in a red when you are logged in, even when you are not using the invite functionality.