Sorry for the weird title. I'm unsure how to describe this problem.
I followed the directions for setting up DFF step by step and I seem to have acheived a "semi-working" site. I've been poking around the issues here and at the project site's forum to no avail trying to figure out what's wrong with my FB connect.
Go ahead and try logging in if you want to see what's going on. Safari, Chrome, and FF are all displaying similar symptoms for me, while the demo site works perfectly.
When I attempt to log in, devel reports:
Type page not found
Date Wednesday, February 24, 2010 - 23:25
User DCoverlord
Location http://dollcrossing.com/modules/jquery_ui/jquery.ui/ui/minified/ui.mouse...
Referrer http://dollcrossing.com/admin/reports/dblog
Message modules/jquery_ui/jquery.ui/ui/minified/ui.mouse.min.js
Severity warning
I see the mention of jquery.ui, but I'm not sure what to make of it. Any suggestions?
-Kayle
Comments
Comment #1
idot commentedSame problem for me. Popup doesn't close after login and shows a "page not found" error. After refreshing manually i'm logged in.
Any ideas to fix this problem?
Comment #2
Dave Cohen commentedI've seen the popup not close when the app is in sandbox mode, and you log in as someone without permission to test the app.
Also javascript is fragile. If you have any errors in any javascript it might prevent the rest of the javascript from running. The firebug console can be helpful in catching some errors. Also try disabling any modules which add javascript to the page, until you can determine which one causes a problem.
Comment #3
chitownguy commentedDavid, are you using the new Javascript SDk that facebook released?
http://developers.facebook.com/docs/reference/javascript/
I am also having this same problem, but when replacing "Drupal for Facebook" footer hook in fb.module with this new JavaScript code. Everything works great!
I can also get the login button below to work properly.
For some reason when using the "Drupal for Facebook" JavaScript it appears as an iFrame div, and has error that state "invalid api key"
Below is the code I used to replace "Drupal for Facebook's" JavaScript.
Hopefully this is helpful David, but I don't understand your module or the facebook API enough to be sure.
Comment #4
Dave Cohen commentedYes the 3.x branch is using the same javascript libraries.
I don't recommend the change you suggest, chitownguy. For the modules to work correctly, you should use the fbAsyncInit() as defined in fb.js.
I suspect if you look at your firebug or chrome console windows, you'll see javascript errors that are the cause of your problems.