我有问题,让fb连接工作在子域。连接按钮可以正常弹出,但在验证后,弹出窗口将变为空白,之后不会发生任何操作。我为应用程序设置了基域,facebook需要它的子域才能工作。
错误信息:
在本例中,请看test.edited.com
我在firebug中得到以下错误
例外..。“组件不可用”nsresult:"0x80040111 (NS_ERROR_NOT_AVAILABLE)“location:"JS frame ::file:///C:/Users/stan/AppData/Roaming/Mozilla/Firefox/Profiles/2zn7fi01.default/extensions/%7Be0204bd5-9d31-402b-a99d-a6aa8ffebdca%7D/components/nsSessionStore3.js ::sss_saveState ::line 1942”数据:无匿名()6pz91fhb.js(第598行)匿名(“http://www.benescribe.com/xd_receiver.htm”,Object uid=668556638,Object feedStorySettings=Object inFacebook=false,1,"benescribe.com",Object name=publicSessionData,"http://test.benescribe.com/test.php",Object name=xd_comm_id)6pz91fhb.js (第595行)匿名()login_st...eiver.htm(第22行)匿名()6pz91fhb.js(第125行)匿名()6pz91fhb.js(第54行) Break on this error this._writeFile(this._sessionFile,oState.toSource());\n
它适用于子目录,并且我不会在子域之间共享数据,只共享一个域和子域
发布于 2009-08-04 03:42:48
尝试将document.domain设置为与没有子域的页面相等。这可能行得通,但我不知道为什么会行。
document.domain = "benescribe.com";https://stackoverflow.com/questions/1225604
复制相似问题