admin管理员组文章数量:1336660
I have an error at the page:
.php
The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded
And the Facebook Connect button does not work any longer..
Any clue ?
I have an error at the page:
http://www.thalasoft./engine/modules/user/login.php
The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded
And the Facebook Connect button does not work any longer..
Any clue ?
Share Improve this question edited Jun 11, 2022 at 10:32 Potherca 14.7k5 gold badges84 silver badges105 bronze badges asked Sep 22, 2011 at 6:03 StephaneStephane 12.8k27 gold badges123 silver badges184 bronze badges1 Answer
Reset to default 6You have both the deprecated Facebook javascript library loaded as well as the old one. Remove the old one:
<script type="text/javascript" src="http://static.ak.connect.facebook./js/api_lib/v0.4/FeatureLoader.js.php"></script>
Keep the valid one:
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId: '35944321698',
status: true,
cookie: true,
xfbml: true
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
Not entirely sure it will fix it, but I know mixing them is not supported.
本文标签: javascriptFacebook Library Uncaught RangeError Maximum call stack size exceededStack Overflow
版权声明:本文标题:javascript - Facebook Library: Uncaught RangeError: Maximum call stack size exceeded - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742418571a2471195.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论