Advertisement:

Author Topic: Facebook Plugin error redirect.  (Read 2478 times)

Wachimiro

  • Newbie
  • *
  • Posts: 9
Facebook Plugin error redirect.
« on: July 10, 2015, 03:16:22 am »
Hello,

I'm having problems with the facebook login plugin. The problem is that after the configuration of the plugin, I tried to login through facebook, it shows the page of the permission on facebook, then I accept the permissions to be able to login in the website, then it supposedly it has to redirect to the website with the login of the new account created.

But my problem is that after accept the permissions on facebook, it doesn't redirect to the website with the account logged. It keeps trying to charge the website and finally ends in an error of redirection.


I arrived to the conclusion that the problem must be with the hosting provider, maybe due the cURL ssl. my hosting is hostinger, I checked the info in the panel administrator in my account, and it shows that the curl support and ssl is enabled.


In the website hosting F.A.Q, they say this:

http://www.hostinger.ph/knowledge-base/589.html


My question is, if the problem is with the cURL ssl and my hosting provider tells that I should insert this line:

Code: [Select]
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
What is the file I should modify to make this works?

Thanks in advance  ;)
« Last Edit: July 10, 2015, 07:05:20 am by Wachimiro »

yemenifree

  • Newbie
  • *
  • Posts: 3
Re: Facebook Plugin error redirect.
« Reply #1 on: July 15, 2015, 02:53:33 am »

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Facebook Plugin error redirect.
« Reply #2 on: September 03, 2015, 06:48:23 pm »