If Optimize JavaScript Files is enabled in the site's Performance settings, then RPX's JavaScript gets all corrupted in the footer JavaScript file of each page of the site.

Attached is a screenshot of the corruption (left) and the same page's JavaScript file (right) when RPX's JavaScript isn't loaded on the page.

At the bottom of the screenshot, you'll see what the JavaScript link looks like from RPX when it isn't combined using Optimize JavaScript Files and you can see that it has a slash at the beginning that shouldn't be there.

CommentFileSizeAuthor
RPX_Error_20100513a.png228.8 KBgregarios

Comments

gregarios’s picture

Here is the problem: You can't use drupal_add_js to reference external JavaScripts the way you've done it, in Drupal 6.

(See line 521 of your rpx.module file.)

nrambeck’s picture

Assigned: Unassigned » nrambeck
Status: Active » Fixed

I found this bug this morning and fixed it. It was only out in the wild 24-48 hours so this would only affect anyone who downloaded the dev release on May 12 or 13. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.