Loading...
 
Features / Usability

Features / Usability


Re: Social Login unable to auto create user

posts: 400

With the original file, replace this:

$fp = fsockopen('ssl://graph.facebook.com', 443, $errno, $errstr);

With this:

try {
		                $fp = fsockopen('ssl://graph.facebook.com', 443, $errno, $errstr);
			} catch (Exception $e) {
				Feedback::error($e->getMessage());
				header("Location: tiki-index.php");
				die();
			}