l_l asks
17 years ago
Why this script won't work...pastie.org/225277
latest #23
Chris
17 years ago
The argument on line 31 should be in quotes, I think.
l_l
17 years ago
I actually think it might be because of the date I'm sending with the POST request.
Chris
17 years ago
As long as it's current, it should work well.
立即下載
l_l
17 years ago
Well, I was sending I constant date. I'm currently modifying it with the PHP date function.
l_l
17 years ago
Well, its updated to send the current time, but it's still off. pastie.org/225308
Chris
17 years ago
Does your Javascript console return any errors?
l_l
17 years ago
Guh...What Javascript console...
Chris
17 years ago
Safari's Web Inspector or Firebug.
l_l
17 years ago
My Error Console in Firefox says "plurk() is not defined". Whoops.
l_l is
17 years ago
there something wrong with how the function is called there?
Chris
17 years ago
Looks like AJAX.send(posted=2008-7-1T03/31/59&qualifier=shares&content=½.ws/r&lang...; still doesn't have quotes.. :/
Chris
17 years ago
(and try putting the javascript before that; preferable in the <head> tag. In my experience, that error came up when there was some ...
Chris
17 years ago
... kind of error in the Javascript code itself.)
l_l
17 years ago
Right, I looked it up, it wasn't supposed to have one.
l_l
17 years ago
The brackets don't seem to work, either
Chris
17 years ago
Another thing is that I've usually never been able to fix whatever causes this error..
l_l
17 years ago
Error: missing ) after argument list AJAX.send(posted=2008-7-1T03/53/38&qualifier=shares&content=&#189;.ws/a&lang...;
l_l
17 years ago
Gah, I'll figure it out tomorrow.
Chris
17 years ago
Quotes.
l_l
17 years ago
Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "xn--12-c6t.ws/?c=http%3A...
l_l
17 years ago
And Security Error: Content at xn--12-c6t.ws/?c=http%3A... may not load data from www.plurk.com/TimeLine/a....
l_l
17 years ago
I'm guessing that means plurk won't let me Access the site...
Chris
17 years ago
You probably need to authenticate in some way. *shrugs*
back to top