Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Role Assignments & Role Group members not saving

UserPost

9:55 pm
June 19, 2010


Wayne

Member

Hawaii

posts 2

1

I have two Wordpress 3.0 installations both running Role Scoper 1.2.5. One works apparently fine, the other does not save members to the Role Groups or save Roles to the category assignment page. Although it was working previously it shows all groups as empty and no roles listed in the category assignments.

I have tried deleting Role Scoper plugin, emptying the wp_groups_rs, wp_role_scope_rs, wp_user2group_rs, wp_user2role2object_rs tables and deleteing the scoper_* records in the wp_options table. I have also tried changing themes and deactivating all other plugins.

Both systems are on different domains on Yahoo Webhosting but they have different history of plugin testing. I am at a loss. Can you help?


9:23 am
June 21, 2010


Kevin

Admin

posts 2503

2

If you temporarily edit wp-config.php to set WP_DEBUG to true, are any warnings/errors displayed on those pages?

11:13 am
June 22, 2010


Kevin

Admin

posts 2503

3

I looked into this using the server login you provided and tracked down the problem.

Your installation was running with an outdated Role Scoper database schema. The user2role2object_rs table was missing the columns associated with role date limits. Consequently, queries which reference those fields failed with a fatal DB error. Apparantly you did not succeed in dropping that table and the scoper_* option records before running the current version. I was able to force a db schema update by temporarily commenting out the scoper_version option retrieval (equivalent to deleting the scoper_version row). De-activating and re-activating the plugin would also have triggered that schema update.

My takeaway from this is to rewrite a few of the queries so that particular schema error is not fatal and merely prevents the date limiting from working.

9:36 pm
June 22, 2010


Wayne

Member

Hawaii

posts 2

4

Thanks for the very prompt help Kevin, and for the great plugin.  It works like a charm now.  As for the agape 'try', I would say you are succeeding.

Mahalo nui loa.


About the Agapetry forum

Currently Online:

15 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1249

Posts: 5659

Members:

There are 1261 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin