I cannot, in 3 hours of trying, get Janrain to allow people to *register* via Janrain.

People who register via Drupal and then associate their login with social media (via this module) can then login into their account, but Janrain does actually allow them to register.

This is true not just for Facebook for every provider.

I am using public registration ("Visitors can create accounts and no administrator approval is required"). I have the site properly listed in Janrain's application settings. I have the "Force registration form" and "Force RPX javascript on every page" options checked.

I am subscribed to Janrain's Plus plan. (As an aside, this module's description should mention that a lot of the features this module claims require a paid subscription.)

I am using Mollum on the user registration page - is that potentially an issue?

Other ideas?

Thanks in advance.

CommentFileSizeAuthor
2011-07-19_1856.png115.18 KBJerimee

Comments

geokat’s picture

Mollom is not supported by 6.x-1.x.

Can you try 6.x-2.1-beta3? This version is the recommended one, and it's very near to being released as a stable one.

Cheers,
George

Jerimee’s picture

Hmmm, progress, but now I've got new problems...

I suppose the answer to this issue is that "Mollom is not supported by 6.x-1.x."

And I'll file a new issue under version 6.x-2.1-beta3 once I'm able to better document the new problems.

Does upgrade from 6.x-1.x to 6.x-2.x not require any database changes? I ran the upgrade script but there was seemingly nothing to upgrade.

Thank you geokat.

geokat’s picture

There's a new table that was added in 6.x-2.x, but this does not require database upgrades, because it is upgraded as part of the install process.

I'm not sure about changes to existing tables; will check this later.

So, I think it's perfectly possible that update.php returns nothing when upgrading from 1.x to 2.x.

Cheers,
George

geokat’s picture

Oh, I remember now. The module got renamed, hence no database upgrades via update.php. They wouldn't work anyway, as this scheme relies on the module's name being the same.

Jerimee’s picture

Eek! I take it back. For whatever reason this new version of Janrain doesn't seem to provide any registration support.

It still allows me to login, but now Janrain doesn't even attempt to allow users to register.

People signing in with Janrain providers (i.e. facebook) who do not have an account are redirected to user/register but the created account isn't associate with the provider and Janrain doesn't populate the registration form with Janrain data.

geokat’s picture

Can you send me the link to your site?

Jerimee’s picture

Version: 6.x-1.4 » 6.x-2.1-beta3

Weird bug. Now, after replacing the 6.x-1.4 code with the 6.x-2 code I get a warning "Validation error, please try again. If this error persists, please contact the site administrator" when ever I enable or disable any of the Janrain modules.

Also, rather than Janrain Engage UI depending on Core, Core acts as if it depends on Janrain Engage UI.

I suspect my database is confused over the transition from 1.4 to 2.

geokat’s picture

Did you delete the rpx directory after disabling 6.x-1.4?

Jerimee’s picture

I turned RPX off in Drupal. Deleted the directory. Uploaded the 6.x-2 module. Turned RPX on again in Drupal.

geokat’s picture

What version of drupal 6 are you using?
What are the non-core modules you have installed?

Thanks,
George

geokat’s picture

Do you have error reporting disabled?
Are there any error messages from RPX in the error log?

Thanks,
George

Jerimee’s picture

No error messages in the error log. Drupal 6.22

Janrain 6.x-2.1-beta3 seems to provide no registration support whatsoever. I've now turned off Mollom, but Janrain just isn't connecting to the user reg form.

It's likely that the database is corrupt with regard to Janrain as a result of the (botched?) upgrade. I'm going to uninstall and try again tomorrow.

Jerimee’s picture

I uninstalled Janrain and then review the database to confirm that data associated with RPX was in fact removed.

I then deleted my facebook application and installed Janrain 6.x-2.1-beta3. I made a new facebook application, associated it correctly following the directions in the README, and configured the module also per those instructions.

No dice. Janrain doesn't even create an association with newly registered accounts, let alone provide the user registration form with data.

To make things worse, the Janrain service is currently down. Janrain's own demo site isn't even functioning.

Jerimee’s picture

Interestingly, Janrain continues to let me log in via an account I had previously connected, but when I go to /user/UID/rpx to see the linked accounts nothing shows there.

Why is the linked account not showing?

It is possible that RPX was actually linking accounts, and I just couldn't tell because the link didn't display. I don't know.

geokat’s picture

I can't reproduce the issue and I don't know how to help you at this
point. If you could provide as much detail as you can about your
setup, maybe that would shed some light.

Here's the information that may be important:

- Is it a shared hosting account or a dedicated server/VPS?
- OS/PHP/DBMS used.
- mod_php is used or not.
- List and version numbers of non-core modules installed. Have you
tried a clean install without any non-core modules except RPX?

Thanks,
George

Jerimee’s picture

Status: Active » Closed (cannot reproduce)

I had no UID 0 in my users table.

If that wasn't the issue than I suspect it was due to a botched upgrade.

I'm more or less convinced that this issue is specific to me, so I've marked it closed.