Hello and thank you already for reading this. I'd be really pleased if you could help me or throw me some ideas.

So I did everything according to readme.txt.

-Can anyone give me an example of point 4. Enter the Site URL on Web Site settings tab (e.g. copy value from admin/settings/fbconnect field “Connect url”).? Because for me it was only http://mydomain.xx/
So I used that at developers.facebook.com at the bottom for website login and mydomain.xx for the field at the top.
-The api keys are right, there's no error.
-under settings/fbconnect/app settings it shows me: "You are not connected to the facebook account that this application is registered to
Connect with your Facebook account" even though I am logged in at facebook. Connecting with the site is not possible because there's no button ;-)
-I disabled all other facebook modules
-disabled logintobbogan
-reports/status does not show me any error.

-for the version 6 there was something about closure tag. I did not do such a thing because my readme does not tell me to. Same with the xhtml thing for IE.

- I installed the library 3.1.1 under sites/all/libraries/facebook-php-sdk . I even tried the version 2.1.1. Still no sign of any connect button.

-I created the theme using zen. Could I have been making any mistake there?

Comments

telefonkabine’s picture

Version: 7.x-2.0-beta4 » 7.x-2.x-dev

Update: I took the new dev version. The connect button showed up inside the fbconnect settings, worked well. When I try to save the settings it tells me:

Exception thrown while using admin_setAppProperties : This method must be called with an app access_token.
Notice: Undefined variable: res in fbconnect_fbapp_settings_submit() (Zeile 319 von /var/www/virtual/username/html/sites/all/modules/fbconnect/fbconnect.admin.inc).
Checking your facebook session, you are not allowed to change this application settings

The connect button still does not show up at the login or registration page.
I am using the zen theme and I read about some xhtml tag I need to insert to some themes' page.tpl.php (I am using zen). But in my file there is not even a tag. Only php, so where do I put it exactly? Or is this not necessary? What about that closure tag? I tried it, it told me:

Notice: Undefined variable: closure in include() (line 180 of /var/www/virtual/username/html/sites/all/themes/themename/templates/page.tpl.php).

I tried

print $closure
telefonkabine’s picture

Anyone has got any ideas, suggestions or even questions?

nyleve101’s picture

Hi,

did you find a solution to this? I'm experiencing the same issue.

Hope you're well.

Eve

gittosj’s picture

Category: support » bug
Priority: Normal » Minor

OK. Think i've found the answer. The issue seems to be some sort of clash in the javascript / css settings of some themes and FBconnect. Since this is technically a bug, I'll alter the status of this issue:

Problem
If I navigated to the App Settings tab, I got the message:
"You are not connected to the facebook account that this application is registered to"
I attempt to fix this by editing my user account but there is no button under user facebook settings - just the word 'connect'

Workaround
Manually edit the url you're using to acceess the user edit page. For example on my setup using a fusion sub theme:
I changed [site-url]/user#overlay=user/1/edit/fbconnect to [site-url]/user/1/edit/fbconnect to avoid the admin overlay and the the facebook connect button appears, and I can associate my admin account with the one used to create the app on facebook and all works well. FBConnect now configures itself correctly and the connect button appears on the register page. Hope that helps you all

Solution
We need to check and debug the javascript / css that FBconnect is generating with the admin themes / overlays that are frequently used. Since there seems to be an easy workaround, I'll categorise this as 'minor'

rasor’s picture

I have a clue, but no answer.

I have same problem.

In my log I find:

LOKATION http://mysite.dk/dp7/fbconnect/register/prompt
HENVISER
MEDDELELSE Warning: require_once(/hsphere/local/home/mysiteadm/mysite.dk/dp7/sites/all/modules/fbconnect/fbconnect.pages.inc): failed to open stream: No such file or directory i menu_execute_active_handler() (linje 514 af /hsphere/local/home/mysiteadm/mysite.dk/dp7/includes/menu.inc).

Clue is: I installed my site in http://mysite.dk/dp7/. Later I moved it to the root: http://mysite.dk/. There it has been working asumingly ok, but now I see that some traces of /dp7/ folder is left behind in some setting somewhere. Fixing that might fix it for me. Hopefully.

Update 6/8-2012: Hmmm - looked up ip via http://whatismyipaddress.com/ip/ - it was google crawler, that has been around my site. I wonder why it thought it could find fbconnect in the old location of the site, when fbconnect was not installed at the old location.

So now no clue of why it does not work.

http://drupal.org/project/fboauth works for me.

gittosj’s picture

Simple answer to this is to use fboauth. fbconnect sometimes works on some themes / sites and not others and then that mysteriously changes. If you're determined to stick with fbconnect then I'd suggest you ensure no other FB javascript code is being loaded on pages where you have the fbconnect button. Culprits are often Service Links, FB Social Plugins etc. Make sure their block config / config stops the loading on the wrong pages.

But really, go with fboauth - its so much less hassle