hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebody Help for me

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • charith

    hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebody Help for me

    Hi All,

    I get this error very frequently
    syntax error
    () in frequently calling a servlets and html files also
    In the response of the makeRequest is this way
    "body":"","rc": "504"
    When clicked on the error displayed in firebug,it redirects to a js
    file
    line 186 >>

    }}return{string ify:stringify,p arse:function(t ext){if(/^[\],:{}\s]*

    $/.test
    (text.replace(/\\["\\\/b-u]/g,"@").replac e(/"[^"\\\n\r]*"|true|fals e|
    null|-
    ?\d+(?:\.\d*)?( ?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s* \[)
    +/g,""))){retur n eval("("+text+" )")

    What eactly does this mean?

    I don't know what might go wrong. I have the same application in
    Orkut,FaceBook and don't have these problems. We need some help,
    please.....
  • =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=

    #2
    Re: hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScr ipt making request .Please Somebody Help for me

    charith escribió:
    I get this error very frequently
    syntax error
    () in frequently calling a servlets and html files also
    In the response of the makeRequest is this way
    "body":"","rc": "504"
    If 504 is the HTTP status code (you don't explain it), it means "Gateway
    Timeout".
    When clicked on the error displayed in firebug,it redirects to a js
    file
    line 186 >>
    >
    }}return{string ify:stringify,p arse:function(t ext){if(/^[\],:{}\s]*
    >
    $/.test
    (text.replace(/\\["\\\/b-u]/g,"@").replac e(/"[^"\\\n\r]*"|true|fals e|
    null|-
    ?\d+(?:\.\d*)?( ?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s* \[)
    +/g,""))){retur n eval("("+text+" )")
    >
    What eactly does this mean?
    It's hard to debug anything when all the code is in a single line of
    some dialect of chinese, but I'd say that it looks like text is empty so:

    eval("("+text+" )"

    becomes:

    ()

    Perhaps it happens when there's a timeout and you receive no data :-?



    --
    -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
    -- Mi sitio sobre programación web: http://bits.demogracia.com
    -- Mi web de humor al baño María: http://www.demogracia.com
    --

    Comment

    Working...