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 badges
Add a ment  | 

1 Answer 1

Reset to default 6

You 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