Posted on: 05/09/09 12:21pm
By: jmatt
Upgrading from 1.4.1 to 1.5.2.sr4.
Openid Login no longer appears in the User Functions block.
I have checked to make sure it is enabled in config, and I checked the settings in the database to make sure it got turned on:
mysql> select value from gl_conf_values where name = 'user_login_method';
+---------------------------------------------------------------+
| value |
+---------------------------------------------------------------+
| a:3:{s:8:"standard";b:1;s:6:"openid";b:1;s:8:"3rdparty";b:0;} |
+---------------------------------------------------------------+
I have tried both the professional and chameleon themes. I looked at the loginform.thtml template in both themes, and they both contain:
{openid_login}
Any other suggestions of places to check to see why it isn't working?
Re: Openid login missing in 1.5.2 ?
Posted on: 05/09/09 12:30pm
By: Dirk
The actual OpenID login form is in a template file called loginform_openid.thtml. Do you have that?
bye, Dirk
Re: Openid login missing in 1.5.2 ?
Posted on: 05/09/09 12:38pm
By: jmatt
Yes, that file exists in the theme directory.
Re: Openid login missing in 1.5.2 ?
Posted on: 05/09/09 12:42pm
By: Dirk
There's also a subtle dependency between OpenID and the options for user submissions. OpenID users can't be queued or approved, so if you enable the user submission queue or disable new user registrations, the OpenID form won't show up.
bye, Dirk
Re: Openid login missing in 1.5.2 ?
Posted on: 05/09/09 12:44pm
By: jmatt
I was just about to post that I had read the code and figured that out
if ($_CONF['user_login_method']['openid'] && ($_CONF['usersubmission'] == 0) && !$_CONF['disable_new_user_registration']) {
I had turned on the User Submission Queue option in the upgraded system. I turned that back off and it works now. Thanks.