Facebook Connect Issue? Blank Page

I am having problems with implementing facebook connect on my site.
Basically, after a user input their facebook login details, they are returned to a blank page.
The url of the blank page looks like this ... "http://yourflatmate.co.uk/m/facebook_connect/login_form ..." 

You could try it out yourself. The site is "www.yourflatmate.co.uk".

Any Ideas.. Please? Undecided

mbonez
Quote · 19 Oct 2013

You need to check your php error logs for errors or turn on display_errors in your php.ini

Either a php error is occurring or you do not have the facebook side of the app setup correctly.

https://www.deanbassett.com
Quote · 19 Oct 2013

How do I enable "display_errors" ?

mbonez
Quote · 19 Oct 2013

php.ini

And if you don't know that, then have your host do it. It's a server configuration setting.




https://www.deanbassett.com
Quote · 19 Oct 2013

I'm on self-managed VPS, host ain't really very supportive.

But erm, I found php.ini in my etc/php5/apache2/ directory ....and I set the display error to "On", but nothing is getting displayed, its still only coming up with a blank page...

mbonez
Quote · 19 Oct 2013

The developer tools in firefox is showing a internal server error.

Perhaps your facebook connect files are damaged.

Lack of error makes it impossible to diagnose. Reupload the entire boonex/facebook_connect folder.

If that does not work. Delete the app on the facebook side and create a new one using this video as a guide. https://www.youtube.com/watch?v=k3HEDcsFviE

https://www.deanbassett.com
Quote · 19 Oct 2013

Ok. Thanks. WOuld do that and report back....

mbonez
Quote · 19 Oct 2013

I would buy a facebook mod for only 30$ and it's superb comparing to the original fb mod that came with Dolphin.

It auto imports the user's profile from Facebook to Dolphin with all the pictures and everything.

 

http://www.boonex.com/m/Deanos_Facebook_Connect_Version_2_0

Quote · 19 Oct 2013

I have done everything you said, still the same problem.

The only thing I remembered just now is that, I was having problems even installing facebook_connect module initially, I had complaints about about php module: curl ....

  • php module: curl = - FAIL (must be module curl)
To solve that, I had to edit /boonex/facebook_connect/inc/base_facebook.php file and uncomment the first couple of lines as shown below...and I was then on able to install facebook connect

//if (!function_exists('curl_init')) {
//  throw new Exception('Facebook needs the CURL PHP extension.');
//}

  
You reckon this has anything to do with my current problem? 

mbonez
Quote · 19 Oct 2013

Ohh, I can see errors now, after restarting apache

Fatal error: Call to undefined function curl_init() in /var/www/modules/boonex/facebook_connect/inc/base_facebook.php on line 915 

mbonez
Quote · 19 Oct 2013

 

I have done everything you said, still the same problem.

The only thing I remembered just now is that, I was having problems even installing facebook_connect module initially, I had complaints about about php module: curl ....

  • php module: curl = - FAIL (must be module curl)
To solve that, I had to edit /boonex/facebook_connect/inc/base_facebook.php file and uncomment the first couple of lines as shown below...and I was then on able to install facebook connect

//if (!function_exists('curl_init')) {
//  throw new Exception('Facebook needs the CURL PHP extension.');
//}

  
You reckon this has anything to do with my current problem? 


Um. Yes. You can't do that.

Facebook connect has hosting requirements. You need to get curl installed on your server. You can't use facebook connect without it. There are other areas of dolphin that may need it as well. It is a listed dolphin hosting requirement. http://www.boonex.com/trac/dolphin/wiki/DolTech

Commenting it out is not a solution. Only thing that did was prevent facebook connect from telling you what was wrong. So first thing you need to do is undo that change, which should have been undone if you re-uploaded the facebook connect files as i previously suggested. So i am guessing you uploaded modified files instead of the originals which is what i actually expected you to do.

Then you need to get the curl extension installed on your server.






https://www.deanbassett.com
Quote · 19 Oct 2013

Thanks...problem solved,
I installed Curl on my server using "sudo apt-get install php5-curl", I restarted apache... I uncommented the lines that I said I commented before, and now all is well

mbonez
Quote · 19 Oct 2013
 
 
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.