Loading...
 
Features / Usability

Features / Usability


Re: Social Login unable to auto create user

posts: 399

Please remove these lines and try again:

//try socket first
                $fp = fsockopen('ssl://graph.facebook.com', 443, $errno, $errstr);
                if ($fp) {
                        $request = "GET $url HTTP/1.1\r\n" .
                                "Host: graph.facebook.com\r\n" .
                                "Accept: */*\r\n" .
                                "Expect: 100-continue\r\n" .
                                "Connection: close\r\n\r\n";

                        fputs($fp, $request);
                        $ret = '';
                        while (! feof($fp)) {
                                $ret .= fgets($fp, 128);
                        }
                        fclose($fp);
                        $ret = preg_split('/(\r\n\r\n|\r\r|\n\n)/', $ret, 2);
                        $ret = $ret[1];
                } else {
Feedback::error([PLACE A VARIABLE NAME FROM THE PRECEDING LINE HERE]);
header("Location: tiki-index.php");
die();

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.