我们的测试站点上有一个可以正常工作的网站 Facebook 登录 API,但在我们转移到新域后,它就停止了工作。当然,我们为新域创建了一个新应用程序,但我仍然收到一条错误消息:
Notice: A session had already been started - ignoring session_start() in /data/www/kuponia.hu/docs/system/includes/library.inc.php on line 9
Notice: Undefined index: PHP_AUTH_USER in /data/www/kuponia.hu/docs/system/includes/mainPLUS.php on line 52
Notice: Undefined index: mobile_access in /data/www/kuponia.hu/docs/system/includes/config.php on line 63
Notice: A session had already been started - ignoring session_start() in /data/www/kuponia.hu/docs/system/includes/fns.php on line 10
Notice: Undefined index: userid in /data/www/kuponia.hu/docs/system/includes/fns.php on line 11
Notice: Undefined index: fb_access_token in /data/www/kuponia.hu/docs/system/modules/facebook/facebook.php on line 6
Notice: Undefined index: userid in /data/www/kuponia.hu/docs/system/modules/facebook/facebook.php on line 37
知道有什么问题吗?新的 API 密钥可以完美地与旧站点(当然是域更改)一起使用,但如果我尝试使用新域,仍然无法正常工作。我们非常迫切需要这个 Facebook 连接登录 API。请出主意!谢谢。