I've got facebook connect installed and working in Firefox. However, when I try to login or create a new account using IE 8 it pops up a window and asks me to login with my facebook account. After logging in the it just shows a blank window. Am I doing something wrong?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vectoroc’s picture

try 2.x

vectoroc’s picture

Status: Active » Closed (won't fix)
hdornier’s picture

Version: 6.x-1.0-beta10 » 6.x-2.x-dev
Priority: Normal » Major
Status: Closed (won't fix) » Active
Issue tags: +ie8
FileSize
54.29 KB
25.71 KB

Hello,

I have the same problem with the 6.2dev version on IE8. When I try to login, a window appears (see attached file 2011-06-19_084219.png). But when I click on the Allow button, a new blank window appears and doesn't close (see attached file 2011-06-19_082448.png). So there's no redirection and the user thinks that he is not connected. But he is.
On Firefox and Chrome, all runs perfectly.

hdornier’s picture

hdornier’s picture

FileSize
54.29 KB
54.29 KB

with the correct attached files

hdornier’s picture

FileSize
25.71 KB
ksiebel’s picture

same here in 2.x-dev...
if the authorization is already done (app is in facebook account settings) it works fine.

when the facebook authorization pops up in the main window the register form with error appears. (username and email are required error message)

screenshots attached

ksiebel’s picture

Just fixed it, its a facebook bug...

Just add the following line after the call to
fb.init:
FB.UIServer.setLoadedNode = function(a,b){FB.UIServer._loadedNodes[a.id]=b;};

(suggested here: http://bugs.developers.facebook.net/show_bug.cgi?id=20168)

fbconnect.module:

 $config = fbconnect_get_config();
    $footer = array();    
    $footer['fb-init-code'] = <<<CODE
      <div id="fb-root"></div>
      <script type="text/javascript">
        window.fbAsyncInit = function() {
          FB.init({
            appId  : '$config[app_id]',
            status : true, // check login status
            cookie : true, // enable cookies to allow the server to access the session
            xfbml  : true,
						channelUrl  : '$path/channel.html',
						logging: '$config[debug]'
          });
					FB.UIServer.setLoadedNode = function(a,b){FB.UIServer._loadedNodes[a.id]=b;}; // Facebook Bug - IE Workaround!
          
          jQuery(document).trigger('fb:init');
        };
      
        (function() {
          var e = document.createElement('script');
          e.src = $config[connect_js];
          e.async = true;
          document.getElementById('fb-root').appendChild(e);
        }());
      </script>
CODE;
ksiebel’s picture

Status: Active » Needs review
gobinathm’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore

isanule1981’s picture

FileSize
1.72 KB