Facebook trouble with connect (IMPORTANT)

Facebook again made changes to its code! And now users have the latest version of Facebook connect will not work. We will try to quickly make a change to the code and put it in a repository where you can refresh

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 7 Mar 2011

I am having no problems with FaceBook connect. Works ok, so far, might be from your canvas call back URL?

Quote · 7 Mar 2011

 

I am having no problems with FaceBook connect. Works ok, so far, might be from your canvas call back URL?

Will try to delete your account and than join again via facebook

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 7 Mar 2011

Thanks SashaE waiting for the fix.

Quote · 8 Mar 2011

When can we expect the fix?

Quote · 11 Mar 2011

 

When can we expect the fix?

wait a little please!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 11 Mar 2011

OK I have fixed that trouble! You can apply this path - http://www.boonex.com/trac/dolphin/changeset/15013

or download and replace this file with your old file - http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 11 Mar 2011

 

OK I have fixed that trouble! You can apply this path - http://www.boonex.com/trac/dolphin/changeset/15013

or download and replace this file with your old file - http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

Thanks! works perfect..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Mar 2011

I confirm. The fix works perfect. Thank you!!!

Quote · 11 Mar 2011

I tried to upload he full file that was given here. now i get this error message. Any one have an idea what went wrong for me?

 


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php:340) in /home/budbands/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

Quote · 12 Mar 2011

I get the same warnings , as above.

Quote · 12 Mar 2011

Nice, I uploaded the "fix", and now I get this,

<div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
<div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
<div style="text-align:center;">Database query error</div>
</div>

My site wont load, just a blank white screen giving the error above.

This is a fix??

Quote · 12 Mar 2011

 

I tried to upload he full file that was given here. now i get this error message. Any one have an idea what went wrong for me?

 


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php:340) in /home/budbands/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

Try upload that files in binary mode with your FTP client!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Mar 2011

 

Nice, I uploaded the "fix", and now I get this,

<div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
<div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
<div style="text-align:center;">Database query error</div>
</div>

My site wont load, just a blank white screen giving the error above.

This is a fix??

We need full db error explanation. Open the inc/classes/BxDolDb.php

and replace this code line:

define( 'DB_FULL_DEBUG_MODE', false);

with

define( 'DB_FULL_DEBUG_MODE', true );

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Mar 2011

I didn't download the new file but compared the original and the new file and made only 2 simple changes in original /modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php file. Maybe it will help you?

1. change the line:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me?fields=picture&type=large');
to:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me');

2. Under the code:


//-- profile nickname already used by other person --//
if( getID($aFacebookProfileInfo['nick_name']) ) {
$sAlternativeNickName = $this
-> getAlternativeName($aFacebookProfileInfo['nick_name']);
}
//--

and directly above "//create new profile" add the following code:


//try to get profile's image
if( NULL != $aFacebookProfileImage = $this
-> oFacebook -> api('/me?fields=picture&type=large') ) {

$aFacebookProfileInfo['picture'] = isset($aFacebookProfileImage['picture'])
? $aFacebookProfileImage['picture']
: '';
}

Quote · 12 Mar 2011

 

I didn't download the new file but compared the original and the new file and made only 2 simple changes in original /modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php file. Maybe it will help you?

1. change the line:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me?fields=picture&type=large');
to:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me');

2. Under the code:


//-- profile nickname already used by other person --//
if( getID($aFacebookProfileInfo['nick_name']) ) {
$sAlternativeNickName = $this
-> getAlternativeName($aFacebookProfileInfo['nick_name']);
}
//--

and directly above "//create new profile" add the following code:


//try to get profile's image
if( NULL != $aFacebookProfileImage = $this
-> oFacebook -> api('/me?fields=picture&type=large') ) {

$aFacebookProfileInfo['picture'] = isset($aFacebookProfileImage['picture'])
? $aFacebookProfileImage['picture']
: '';
}

exactly!!!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Mar 2011

 

I didn't download the new file but compared the original and the new file and made only 2 simple changes in original /modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php file. Maybe it will help you?

1. change the line:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me?fields=picture&type=large');
to:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me');

2. Under the code:


//-- profile nickname already used by other person --//
if( getID($aFacebookProfileInfo['nick_name']) ) {
$sAlternativeNickName = $this
-> getAlternativeName($aFacebookProfileInfo['nick_name']);
}
//--

and directly above "//create new profile" add the following code:


//try to get profile's image
if( NULL != $aFacebookProfileImage = $this
-> oFacebook -> api('/me?fields=picture&type=large') ) {

$aFacebookProfileInfo['picture'] = isset($aFacebookProfileImage['picture'])
? $aFacebookProfileImage['picture']
: '';
}

This didn't work either, It seems the code in my BxFaceBookConnectModule.php file is a little different than what's posted here.

Just wondering.. Could my problem be that i deleted the original BxFaceBookConnectModule.php file?

Also: Can i  upload a clean copy of the facebook_connect module or the BxFaceBookConnectModule.php from the original dolphin package to my website. or would i have to do a complete dolphin reinstall for this to work? I tried & now i get this error (below) when i try logging out of the site after i installed the facebook connect module, i can't log out untill i uninstall the facebook module:

 

(Fatal error: Class 'BxFaceBookConnectAlerts' not found in /home/budbands/public_html/inc/classes/BxDolAlerts.php on line 105)

 

@sashae I use "core ftp light" for ftp transfer, I'm not sure how to put it in binary mode, would you possibly know how i do this?

Thanks for the help guys.

Quote · 12 Mar 2011

 

 

I didn't download the new file but compared the original and the new file and made only 2 simple changes in original /modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php file. Maybe it will help you?

1. change the line:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me?fields=picture&type=large');
to:
$aFacebookProfileInfo = $this -> oFacebook -> api('/me');

2. Under the code:


//-- profile nickname already used by other person --//
if( getID($aFacebookProfileInfo['nick_name']) ) {
$sAlternativeNickName = $this
-> getAlternativeName($aFacebookProfileInfo['nick_name']);
}
//--

and directly above "//create new profile" add the following code:


//try to get profile's image
if( NULL != $aFacebookProfileImage = $this
-> oFacebook -> api('/me?fields=picture&type=large') ) {

$aFacebookProfileInfo['picture'] = isset($aFacebookProfileImage['picture'])
? $aFacebookProfileImage['picture']
: '';
}

This didn't work either, It seems the code in my BxFaceBookConnectModule.php file is a little different than what's posted here.

Just wondering.. Could my problem be that i deleted the original BxFaceBookConnectModule.php file?

Also: Can i  upload a clean copy of the facebook_connect module or the BxFaceBookConnectModule.php from the original dolphin package file to my website. or would i have to do a complete dolphin reinstall for this to work?

@sashae I use "core ftp light" for ftp transfer, I'm not sure how to put it in binary mode, would you possibly know how i do this?

Thanks for the help guys.

Try to find settings into your ftp client like this :

Transfer type:

ASCII

Binary

Automatically

Select the Binary mode!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 12 Mar 2011

 

[Edit] Ok it works!

 

[orig] Ok, the only settings i found in FTP is to ignore ascii file extensions, which i did set to ignore. I re-uploaded your file & I'm back to my original error message. I guess i'll try the other patch fix again using a different text editor maybe using wordpad is messing things up.

 

[edit]

Yep it must have been wordpad. Duh., works fine now with the edit fix using my cpanel text editor. i'm not sure why i couldn't get the other file to work, maybe when i download cause it gets auto changed/recognized as wordpad file on my pc is why i'm having problems?

Thanks again for all your help & a working fix! :)

Quote · 12 Mar 2011

Make sure you all are actually removing the module, then making the necessary file replacements, then re-install the module..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 12 Mar 2011

I missed the uninstall and reinstall part the first time so did it that way this time.

When trying to join via facebook connect I enter my face book name and pass and then get a blank white screen with this error in the modules error.log.

[12-Mar-2011 18:56:22] PHP Fatal error:  Call to undefined method BxFaceBookConnectDb::isEmailExisting() in /home/*******/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 387

Quote · 13 Mar 2011

Must have been a problem with the file I downloaded, I tried the manual edit to the old file (kept a backup of course)

and it's working fine,

Thanks SashaE

Quote · 13 Mar 2011

 

I missed the uninstall and reinstall part the first time so did it that way this time.

When trying to join via facebook connect I enter my face book name and pass and then get a blank white screen with this error in the modules error.log.

[12-Mar-2011 18:56:22] PHP Fatal error:  Call to undefined method BxFaceBookConnectDb::isEmailExisting() in /home/*******/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 387

You need update modules\boonex\facebook_connect\classes\BxFaceBookConnectDb.php from repository too

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 13 Mar 2011

Hi,

I have installed dolphin 7.0.4 and later came to know fconnect module is no longer working. It just gave a blank screen.

Then I uninstalled fconnect module , downloaded dolphin 7.0.5 , and uploaded its fconnect module to server and reinstalled fconnect module from the admin area.

Now the fconnect authentication seems to be working, but I get following error whenever tried tp login /signup using facebook connect. The associated old user accounts are deleted from database. So the error msg is invalid.

Can you please suggest me a solution. I cleared cache also.

P.S. Fconnect in dolphin 7.0.5 didnt work directly in dolphin 7.0.4. So I applied a code modification to support dolphin 7.0.4

Thank you.

 

Udeni

Quote · 14 Mar 2011

Sorry, I hadnt included the said error msg with my previous message. It s the following,

 

SORRY BUT THE PROFILE WITH THE RECEIVED EMAIL ALREADY EXISTS

Quote · 14 Mar 2011

 

Sorry, I hadnt included the said error msg with my previous message. It s the following,

 

SORRY BUT THE PROFILE WITH THE RECEIVED EMAIL ALREADY EXISTS

Facebook working properly! But when you remove a module lost its connection with the created profile via facebook. Now you can use those profiles just by itself (entering a password in the usual way). Or delete all the profiles previously created using facebook!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Mar 2011

Hi,

Thanks for the reply.

What I did was after reinstalling, I deleted previous fconnected members from database. Even without them I get above error.

Best Regards

Udeni

 

Quote · 14 Mar 2011

 

Hi,

Thanks for the reply.

What I did was after reinstalling, I deleted previous fconnected members from database. Even without them I get above error.

Best Regards

Udeni

 

Provide me with your site's access data I will test it

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 15 Mar 2011

Hi,

Thanks for your support. The site is temporary down right now due to a payment issue with hosting company. It will be solved in next hour and will PM you the access details.

 

Thank you.

Udeni

Quote · 15 Mar 2011

Hi there,

I have used binary mode using WinScp and used SFTP since I can't use FTP directly, and it still is giving me the following warnings,

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/inc/facebook.php:340) in /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

 

Maybe the WinScp binary mode is different than FTP? Any thoughts, Thanks.

Quote · 15 Mar 2011

PHP files are text files. You should be using ascii mode for those anyway.


I also noticed the file is missing the final closing php tag.

You could try adding ?> to the end of the file. Make sure there are no blank lines after it, and see if that does anything.


https://www.deanbassett.com
Quote · 16 Mar 2011

I have sent you the access details va PM thanks

 

Hi,

Thanks for the reply.

What I did was after reinstalling, I deleted previous fconnected members from database. Even without them I get above error.

Best Regards

Udeni

 

Provide me with your site's access data I will test it

 

Quote · 16 Mar 2011

 

PHP files are text files. You should be using ascii mode for those anyway.


I also noticed the file is missing the final closing php tag.

You could try adding ?> to the end of the file. Make sure there are no blank lines after it, and see if that does anything.


1. When to send data in ASCII mode, they are sometimes sent broken (ie the data is lost)
2. Before giving advice Honour manual for php. The closing tag is optional. And any help here to see prices can not be!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Mar 2011

 

Hi there,

I have used binary mode using WinScp and used SFTP since I can't use FTP directly, and it still is giving me the following warnings,

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/inc/facebook.php:340) in /var/www/50k.ucsd.edu/httpdocs/community/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

 

Maybe the WinScp binary mode is different than FTP? Any thoughts, Thanks.

Create ticket please, they will check your module!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Mar 2011

General question raised by this issue. Is there any sort of notification that I should be getting from Boonex when an issue like this arises and a fix is implemented, or do I just have to wait for it to fail on my live site or daily stalk the forums and changesets?

Quote · 16 Mar 2011

 

PHP files are text files. You should be using ascii mode for those anyway.


I also noticed the file is missing the final closing php tag.

You could try adding ?> to the end of the file. Make sure there are no blank lines after it, and see if that does anything.


Hello

 

Please tell me if I need to do this on my site? I do not understand and do not know if i have to do this

here is my site http://guitarelements.com

 

thank you

Quote · 16 Mar 2011

 

 

Please tell me if I need to do this on my site? I do not understand and do not know if i have to do this

here is my site http://guitarelements.com

 

thank you

No, you don't. When i installed the inviter on your site, i already did the patch for you.


https://www.deanbassett.com
Quote · 16 Mar 2011

 

 

 

Please tell me if I need to do this on my site? I do not understand and do not know if i have to do this

here is my site http://guitarelements.com

 

thank you

No, you don't. When i installed the inviter on your site, i already did the patch for you.

Thank you Deano

 

Quote · 16 Mar 2011

Using ascii mode and closing the ?> didn't help either, still same warnings.

Quote · 17 Mar 2011

I found the problem, I was at version 7.0.4. I upgraded from 7.0.4 to 7.0.5 and replaced the file but now I get the following message

Sorry but the profile with the received email already exists
Thanks
Quote · 17 Mar 2011

 

I found the problem, I was at version 7.0.4. I upgraded from 7.0.4 to 7.0.5 and replaced the file but now I get the following message

Sorry but the profile with the received email already exists
Thanks

Remove completely your facebook connect module and users that was created with that. Than download latest version of module and install it.

PS. It is natural that you'll get an error trying to update a different version of modules.!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 17 Mar 2011

So, all the users will have to re-create their accounts? Is their a way to sync the users or their data?

Quote · 17 Mar 2011

 

So, all the users will have to re-create their accounts? Is their a way to sync the users or their data?

No you already lost this way when you have reinstalled mod

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 18 Mar 2011

I only did the upgrade, didn't reinstall facebook connect module. Is there a way to convert existing facebook connect users to normal users and give them a dummy password.

 

thanks.

Quote · 18 Mar 2011

 

I only did the upgrade, didn't reinstall facebook connect module. Is there a way to convert existing facebook connect users to normal users and give them a dummy password.

 

thanks.

Create a ticket please. They will test your current  module and let you know what your should to do next!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 19 Mar 2011

 

OK I have fixed that trouble! You can apply this path - http://www.boonex.com/trac/dolphin/changeset/15013

or download and replace this file with your old file - http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

 

Sasha

I applied the patch to a fresh 7.05 install. Cleared the cache. Uploaded in binary mode. However, it was working last week and stopped working this week so I applied the patch. It keeps redirecting to the login page even though I have it set to member.php. My install is on www.knockoutmag.com

Anything else I am missing?

Quote · 22 Mar 2011

so, i figured out the issue. it had to do with the antispam settings under tools as i had all the spammers checked. by unchecking any spammer whose ip range had the word 'any' in it i solved the problem.

Quote · 22 Mar 2011

I copy pasted the details t on http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php as this was not a file to download just the php text to my old file and all i get is

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/northumb/public_html/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/northumb/public_html/modules/boonex/facebook_connect/inc/facebook.php:340) in /home/northumb/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

 

 

 

I tried to upload he full file that was given here. now i get this error message. Any one have an idea what went wrong for me?

 


Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/budbands/public_html/modules/boonex/facebook_connect/inc/facebook.php:340) in /home/budbands/public_html/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php on line 146

Try upload that files in binary mode with your FTP client!

 

https://niceday-hosting.co.uk | http://northumberlandfriends.co.uk |http://kids-tv.net
Quote · 22 Mar 2011

 

OK I have fixed that trouble! You can apply this path - http://www.boonex.com/trac/dolphin/changeset/15013

or download and replace this file with your old file - http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

 I downloaded and replaced the file,uninstalled and re installed the module & I get this message

 

This webpage has a redirect loop

The webpage at https://www.facebook.com/login.php?api_key=140108009413552&cancel_url=http%3A%2F%2F360socialgamers.com%2Fmodules%2F%3Fr%3Dfacebook_connect%252Flogin_form&display=page&fbconnect=1&next=http%3A%2F%2F360socialgamers.com%2Fmodules%2F%3Fr%3Dfacebook_connect%252Flogin_form&return_session=1&session_version=3&v=1.0&req_perms=email%2Cuser_hometown%2Cuser_birthday%2Cuser_interests%0D%0A++++++++++++++++%09%2Cuser_likes%2Cuser_location has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

And i cleared all cookies

Quote · 21 Aug 2011

 

 

OK I have fixed that trouble! You can apply this path - http://www.boonex.com/trac/dolphin/changeset/15013

or download and replace this file with your old file - http://www.boonex.com/trac/dolphin/browser/trunk/modules/boonex/facebook_connect/classes/BxFaceBookConnectModule.php

 I downloaded and replaced the file,uninstalled and re installed the module & I get this message

 

This webpage has a redirect loop

The webpage at https://www.facebook.com/login.php?api_key=140108009413552&cancel_url=http%3A%2F%2F360socialgamers.com%2Fmodules%2F%3Fr%3Dfacebook_connect%252Flogin_form&display=page&fbconnect=1&next=http%3A%2F%2F360socialgamers.com%2Fmodules%2F%3Fr%3Dfacebook_connect%252Flogin_form&return_session=1&session_version=3&v=1.0&req_perms=email%2Cuser_hometown%2Cuser_birthday%2Cuser_interests%0D%0A++++++++++++++++%09%2Cuser_likes%2Cuser_location has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

And i cleared all cookies

 I'm getting the same error.. a redirect loop.

Have cleared cache and cookies.

Quote · 24 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.