Closed (fixed)
Project:
Janrain Social Login
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2012 at 17:20 UTC
Updated:
10 Jan 2013 at 04:30 UTC
In the console I see the following errors:
SCRIPT1028: Expected identifier, string or number
rpx.js, line 1 character 21089
SCRIPT5009: 'RPXNOW' is undefined
user, line 335 character 5and several more similar RPXNOW undefined errors
the expected identifier is at the end of the list of services somewhere in the rpx.js that is getting served up from the server. I'm not sure if it is an issue with the script itself or somehow the data getting to it would be
:new E("soundcloud",950,550),|}};
I think the issue is more likely to be user.. and the other instances of RPXNOW not being defined. Wondering where that's supposed to be defined..
It works in IE7 on the main janrain site but i don't see rpx.js being used there..
Comments
Comment #1
David_Rothstein commentedThe bug seems to be the trailing comma - i.e.
soundcloud:new E("soundcloud",950,550),}};is actually invalid JavaScript, and it should besoundcloud:new E("soundcloud",950,550)}};instead. (I think IE7 is less lenient about this kind of invalid JavaScript than other browsers tend to be.)So I guess this is a problem on Janrain's end?
Comment #2
geokat commentedThanks for the heads up.
A fix is in the works; should be out in couple of days.
Comment #3
David_Rothstein commentedPretty sure this works now (and looking at http://static.rpxnow.com/js/lib/rpx.js the code appears to have been fixed).
Thanks!
Comment #4.0
(not verified) commentedclarifying