Forum

Questions and discussions

Can't login with facebook/twitter

Script's setup and configuration

Can't login with facebook/twitter

Postby serge » Tue Dec 11, 2012 9:20 am

Hi,

I created the apps at facebook.com and twitter.com.
I activated Facebook and Twitter login in the Social Networks of my site administration and entered the the Application keys and secrets.
In my php.ini: allow_url_fopen = On
Now when I try to login using facebook, it takes me to the FB website where I enter my FB credentials, then it redirects me to http://www.mysite.com/members/check_fac ... ah-blah.... the page loads completely but it is entirely blank.
Same thing with Twitter.

Does anyone know what could be wrong? Thank you!
serge
 
Posts: 81
Joined: Wed May 05, 2010 9:10 pm

Re: Can't login with facebook/twitter

Postby serge » Wed Dec 12, 2012 4:31 am

I'm still stuck with this problem.

Can someone tell me more about the "grep allow_url /etc/php.ini" thing?
Where do I need to place this line? Right above the "allow_url_fopen = On" in the php.ini?
And what if there is no etc directory on my server? I'm using MAMP and my php.ini is stored in /conf/php5.

Thanks
serge
 
Posts: 81
Joined: Wed May 05, 2010 9:10 pm

Re: Can't login with facebook/twitter

Postby admin » Wed Dec 12, 2012 11:46 am

It is impossible to use the option on the localserver because facebook is not able to send a reponse to you.
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Re: Can't login with facebook/twitter

Postby serge » Fri Dec 14, 2012 8:43 am

My problem was related to JSON not being installed on my server.
I upgrated to PHP 5.2 which has Native JSON support.
serge
 
Posts: 81
Joined: Wed May 05, 2010 9:10 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.