HighDots Forums  

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

Javascript JavaScript language (comp.lang.javascript)


Discuss hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebody Help for me in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
charith
 
Posts: n/a

Default hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebody Help for me - 06-17-2008 , 01:31 AM






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.....

Reply With Quote
  #2  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: hi5 opensocial Issue of syntax error: ..... rc:504 error,inJavaScript making request .Please Somebody Help for me - 06-17-2008 , 05:01 AM






charith escribió:
Quote:
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".

Quote:
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
--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.