最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Facebook xd_arbiter.php error in JSON3 - Stack Overflow

programmeradmin10浏览0评论

We started getting an error from facebook's xd_arbiter.php file recently, I cant recall any changes made by us, so im starting to thinks the problem is at facebook.

This error happens in firefox 14.0.1, (chrome,safari,opera (latest versions)) seems to work fine.

The project is a facebook connect site, and we are using the js api. We are basically using the same code as provided from facebook.

The error only happens if the user is logged in to facebook prior to entering our site. After the async load of the all.js file, we get this error.

JSON.parse: bad control character in string literal 

in the xd_arbiter.php?version=10. This is before the FB.init method is called.

I saw this post, but this does not help much, does it..

how to avoid links to .php hanging indefinitely

Can anyone confirm the they get this problem also, and confirm the the problem is at facebook.?

Thx for the help.

We started getting an error from facebook's xd_arbiter.php file recently, I cant recall any changes made by us, so im starting to thinks the problem is at facebook.

This error happens in firefox 14.0.1, (chrome,safari,opera (latest versions)) seems to work fine.

The project is a facebook connect site, and we are using the js api. We are basically using the same code as provided from facebook.

http://developers.facebook./docs/guides/web/#login

The error only happens if the user is logged in to facebook prior to entering our site. After the async load of the all.js file, we get this error.

JSON.parse: bad control character in string literal 

in the xd_arbiter.php?version=10. This is before the FB.init method is called.

I saw this post, but this does not help much, does it..

how to avoid links to http://static.ak.facebook./connect/xd_arbiter.php hanging indefinitely

Can anyone confirm the they get this problem also, and confirm the the problem is at facebook.?

Thx for the help.

Share Improve this question edited May 23, 2017 at 12:33 CommunityBot 11 silver badge asked Aug 19, 2012 at 11:02 ArwidtArwidt 1011 silver badge4 bronze badges 3
  • I'm seeing this as well. Did you get it resolved? – mshiltonj Commented Sep 13, 2012 at 1:21
  • Can you post a URL where this happens? Thanks! – Stoyan Commented Oct 4, 2012 at 7:50
  • Any further updates on this ? Basically the Firebug script debug is not usable when there is a FB javascript as it will stop all the times on //connect/xd_arbiter.php?version=28 – dawez Commented Jan 27, 2014 at 16:32
Add a ment  | 

2 Answers 2

Reset to default 4

I have a similar issue, but in all.js since yesterday (10/2/2012) in my Firebug debugging. I test on Firebug 1.10.3 on Firefox 15.0.1 on Mac Lion.

Firebug shows this Javascript error in all.js:

JSON.parse: bad control character in string literal 
You can disable/enable break notifications in panel's tab menu.

Line 17:  (line 17 is super long - so I'm not putting it in here.  
          Somewhere in all.js:17 is a bad-control character I guess)

This is a controlled error which is done to feature test the JSON implementation. If you look at the source it is being caught in a try/catch and so should not be of any consequence. That

Chrome has two modes of debugging, one where it will stop on all errors, an one where it will only stop on uncaught ones - does not Firebug have something similar?

发布评论

评论列表(0)

  1. 暂无评论