hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebod

Discussion in 'Javascript' started by charith, Jun 17, 2008.

  1. charith

    charith Guest

    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{stringify:stringify,parse:function(text){if(/^[\],:{}\s]*

    $/.test
    (text.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|
    null|-
    ?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)
    +/g,""))){return 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.....
    charith, Jun 17, 2008
    #1
    1. Advertising

  2. 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{stringify:stringify,parse:function(text){if(/^[\],:{}\s]*
    >
    > $/.test
    > (text.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|
    > null|-
    > ?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)
    > +/g,""))){return 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
    --
    Álvaro G. Vicario, Jun 17, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Birtle
    Replies:
    2
    Views:
    1,995
    John Saunders
    Oct 16, 2003
  2. KK
    Replies:
    2
    Views:
    524
    Big Brian
    Oct 14, 2003
  3. Merrick
    Replies:
    2
    Views:
    632
    Bruno Desthuilliers
    Oct 6, 2008
  4. Mark Richards
    Replies:
    3
    Views:
    303
    Tad McClellan
    Nov 18, 2007
  5. Replies:
    0
    Views:
    77
Loading...

Share This Page